blob: e9b66ab86e4665f49a6ae8cfb20ecb0ebf905b4f [file] [log] [blame]
Alex Deymoaea4c1c2015-08-19 20:24:43 -07001//
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 Reyes4e9b9f42010-04-26 15:06:43 -070016
Gilad Arnoldcf175a02014-07-10 16:48:47 -070017#ifndef UPDATE_ENGINE_DBUS_CONSTANTS_H_
18#define UPDATE_ENGINE_DBUS_CONSTANTS_H_
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070019
Alex Deymod6deb1d2015-08-28 15:54:37 -070020// TODO(deymo): Remove this file once all clients use "dbus-constants.h"
21// instead. We need to remove it from the ebuild as well.
22
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070023namespace chromeos_update_engine {
24
25static const char* const kUpdateEngineServiceName = "org.chromium.UpdateEngine";
26static const char* const kUpdateEngineServicePath =
27 "/org/chromium/UpdateEngine";
28static const char* const kUpdateEngineServiceInterface =
29 "org.chromium.UpdateEngineInterface";
David Zeuthen75a4c3e2013-09-06 11:36:59 -070030
Alex Deymob7ca0962014-10-01 17:58:07 -070031// Generic UpdateEngine D-Bus error.
32static const char* const kUpdateEngineServiceErrorFailed =
33 "org.chromium.UpdateEngine.Error.Failed";
34
David Zeuthen75a4c3e2013-09-06 11:36:59 -070035// Flags used in the AttemptUpdateWithFlags() D-Bus method.
36typedef enum {
37 kAttemptUpdateFlagNonInteractive = (1<<0)
38} AttemptUpdateFlags;
39
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070040} // namespace chromeos_update_engine
41
Gilad Arnoldcf175a02014-07-10 16:48:47 -070042#endif // UPDATE_ENGINE_DBUS_CONSTANTS_H_