blob: e048b8b64a0bd65ae40db26299ed95e816dff2e5 [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
20namespace chromeos_update_engine {
21
22static const char* const kUpdateEngineServiceName = "org.chromium.UpdateEngine";
23static const char* const kUpdateEngineServicePath =
24 "/org/chromium/UpdateEngine";
25static const char* const kUpdateEngineServiceInterface =
26 "org.chromium.UpdateEngineInterface";
David Zeuthen75a4c3e2013-09-06 11:36:59 -070027
Alex Deymob7ca0962014-10-01 17:58:07 -070028// Generic UpdateEngine D-Bus error.
29static const char* const kUpdateEngineServiceErrorFailed =
30 "org.chromium.UpdateEngine.Error.Failed";
31
David Zeuthen75a4c3e2013-09-06 11:36:59 -070032// Flags used in the AttemptUpdateWithFlags() D-Bus method.
33typedef enum {
34 kAttemptUpdateFlagNonInteractive = (1<<0)
35} AttemptUpdateFlags;
36
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070037} // namespace chromeos_update_engine
38
Gilad Arnoldcf175a02014-07-10 16:48:47 -070039#endif // UPDATE_ENGINE_DBUS_CONSTANTS_H_