Alex Deymo | aea4c1c | 2015-08-19 20:24:43 -0700 | [diff] [blame^] | 1 | // |
| 2 | // Copyright (C) 2010 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 16 | |
Gilad Arnold | cf175a0 | 2014-07-10 16:48:47 -0700 | [diff] [blame] | 17 | #ifndef UPDATE_ENGINE_DBUS_CONSTANTS_H_ |
| 18 | #define UPDATE_ENGINE_DBUS_CONSTANTS_H_ |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 19 | |
| 20 | namespace chromeos_update_engine { |
| 21 | |
| 22 | static const char* const kUpdateEngineServiceName = "org.chromium.UpdateEngine"; |
| 23 | static const char* const kUpdateEngineServicePath = |
| 24 | "/org/chromium/UpdateEngine"; |
| 25 | static const char* const kUpdateEngineServiceInterface = |
| 26 | "org.chromium.UpdateEngineInterface"; |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 27 | |
Alex Deymo | b7ca096 | 2014-10-01 17:58:07 -0700 | [diff] [blame] | 28 | // Generic UpdateEngine D-Bus error. |
| 29 | static const char* const kUpdateEngineServiceErrorFailed = |
| 30 | "org.chromium.UpdateEngine.Error.Failed"; |
| 31 | |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 32 | // Flags used in the AttemptUpdateWithFlags() D-Bus method. |
| 33 | typedef enum { |
| 34 | kAttemptUpdateFlagNonInteractive = (1<<0) |
| 35 | } AttemptUpdateFlags; |
| 36 | |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 37 | } // namespace chromeos_update_engine |
| 38 | |
Gilad Arnold | cf175a0 | 2014-07-10 16:48:47 -0700 | [diff] [blame] | 39 | #endif // UPDATE_ENGINE_DBUS_CONSTANTS_H_ |