Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 1 | // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Gilad Arnold | cf175a0 | 2014-07-10 16:48:47 -0700 | [diff] [blame] | 5 | #ifndef UPDATE_ENGINE_DBUS_CONSTANTS_H_ |
| 6 | #define UPDATE_ENGINE_DBUS_CONSTANTS_H_ |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 7 | |
| 8 | namespace chromeos_update_engine { |
| 9 | |
| 10 | static const char* const kUpdateEngineServiceName = "org.chromium.UpdateEngine"; |
| 11 | static const char* const kUpdateEngineServicePath = |
| 12 | "/org/chromium/UpdateEngine"; |
| 13 | static const char* const kUpdateEngineServiceInterface = |
| 14 | "org.chromium.UpdateEngineInterface"; |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 15 | |
Alex Deymo | b7ca096 | 2014-10-01 17:58:07 -0700 | [diff] [blame] | 16 | // Generic UpdateEngine D-Bus error. |
| 17 | static const char* const kUpdateEngineServiceErrorFailed = |
| 18 | "org.chromium.UpdateEngine.Error.Failed"; |
| 19 | |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 20 | // Flags used in the AttemptUpdateWithFlags() D-Bus method. |
| 21 | typedef enum { |
| 22 | kAttemptUpdateFlagNonInteractive = (1<<0) |
| 23 | } AttemptUpdateFlags; |
| 24 | |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 25 | } // namespace chromeos_update_engine |
| 26 | |
Gilad Arnold | cf175a0 | 2014-07-10 16:48:47 -0700 | [diff] [blame] | 27 | #endif // UPDATE_ENGINE_DBUS_CONSTANTS_H_ |