blob: f8494ffabf575624ad0fb7e7fdadb1f2d4e95047 [file] [log] [blame]
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -07001// 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 Arnoldcf175a02014-07-10 16:48:47 -07005#ifndef UPDATE_ENGINE_DBUS_CONSTANTS_H_
6#define UPDATE_ENGINE_DBUS_CONSTANTS_H_
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -07007
8namespace chromeos_update_engine {
9
10static const char* const kUpdateEngineServiceName = "org.chromium.UpdateEngine";
11static const char* const kUpdateEngineServicePath =
12 "/org/chromium/UpdateEngine";
13static const char* const kUpdateEngineServiceInterface =
14 "org.chromium.UpdateEngineInterface";
David Zeuthen75a4c3e2013-09-06 11:36:59 -070015
Alex Deymob7ca0962014-10-01 17:58:07 -070016// Generic UpdateEngine D-Bus error.
17static const char* const kUpdateEngineServiceErrorFailed =
18 "org.chromium.UpdateEngine.Error.Failed";
19
David Zeuthen75a4c3e2013-09-06 11:36:59 -070020// Flags used in the AttemptUpdateWithFlags() D-Bus method.
21typedef enum {
22 kAttemptUpdateFlagNonInteractive = (1<<0)
23} AttemptUpdateFlags;
24
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070025} // namespace chromeos_update_engine
26
Gilad Arnoldcf175a02014-07-10 16:48:47 -070027#endif // UPDATE_ENGINE_DBUS_CONSTANTS_H_