1cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley//
2cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// Copyright (C) 2015 The Android Open Source Project
3cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley//
4cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// Licensed under the Apache License, Version 2.0 (the "License");
5cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// you may not use this file except in compliance with the License.
6cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// You may obtain a copy of the License at
7cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley//
8cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley//      http://www.apache.org/licenses/LICENSE-2.0
9cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley//
10cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// Unless required by applicable law or agreed to in writing, software
11cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// distributed under the License is distributed on an "AS IS" BASIS,
12cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// See the License for the specific language governing permissions and
14cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley// limitations under the License.
15cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley//
16cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley
1739910dcd1d68987ccee7c3031dc269233a8490bbAlex Deymo#ifndef UPDATE_ENGINE_CLIENT_LIBRARY_INCLUDE_UPDATE_ENGINE_UPDATE_STATUS_H_
1839910dcd1d68987ccee7c3031dc269233a8490bbAlex Deymo#define UPDATE_ENGINE_CLIENT_LIBRARY_INCLUDE_UPDATE_ENGINE_UPDATE_STATUS_H_
19cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley
20cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wileynamespace update_engine {
21cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley
22cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wileyenum class UpdateStatus {
23cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  IDLE = 0,
24cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  CHECKING_FOR_UPDATE,
25cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  UPDATE_AVAILABLE,
26cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  DOWNLOADING,
27cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  VERIFYING,
28cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  FINALIZING,
29cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  UPDATED_NEED_REBOOT,
30cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  REPORTING_ERROR_EVENT,
31cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  ATTEMPTING_ROLLBACK,
32cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley  DISABLED,
33cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley};
34cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley
35cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley}  // namespace update_engine
36cc8ce0e3b11ac76412c26c687d11140cbe18ad91Christopher Wiley
3739910dcd1d68987ccee7c3031dc269233a8490bbAlex Deymo#endif  // UPDATE_ENGINE_CLIENT_LIBRARY_INCLUDE_UPDATE_ENGINE_UPDATE_STATUS_H_
38