aboutsummaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'dbus')
-rw-r--r--dbus/oobe_config/dbus-constants.h20
-rw-r--r--dbus/oobe_config/oobe_config.proto13
-rw-r--r--dbus/service_constants.h1
3 files changed, 34 insertions, 0 deletions
diff --git a/dbus/oobe_config/dbus-constants.h b/dbus/oobe_config/dbus-constants.h
new file mode 100644
index 0000000..ef5b04e
--- /dev/null
+++ b/dbus/oobe_config/dbus-constants.h
@@ -0,0 +1,20 @@
+// Copyright 2018 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SYSTEM_API_DBUS_OOBE_CONFIG_DBUS_CONSTANTS_H_
+#define SYSTEM_API_DBUS_OOBE_CONFIG_DBUS_CONSTANTS_H_
+
+namespace oobe_config {
+
+// General
+const char kOobeConfigRestoreInterface[] = "org.chromium.OobeConfigRestore";
+const char kOobeConfigRestoreServicePath[] = "/org/chromium/OobeConfigRestore";
+const char kOobeConfigRestoreServiceName[] = "org.chromium.OobeConfigRestore";
+
+// Methods
+const char kProcessAndGetOobeAutoConfigMethod[] = "ProcessAndGetOobeAutoConfig";
+
+} // namespace oobe_config
+
+#endif // SYSTEM_API_DBUS_OOBE_CONFIG_DBUS_CONSTANTS_H_
diff --git a/dbus/oobe_config/oobe_config.proto b/dbus/oobe_config/oobe_config.proto
new file mode 100644
index 0000000..d5d4b55
--- /dev/null
+++ b/dbus/oobe_config/oobe_config.proto
@@ -0,0 +1,13 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto3";
+
+option optimize_for = LITE_RUNTIME;
+
+package oobe_config;
+
+message OobeRestoreData {
+ string chrome_config_json = 1;
+}
diff --git a/dbus/service_constants.h b/dbus/service_constants.h
index 0a0218a..37b50fa 100644
--- a/dbus/service_constants.h
+++ b/dbus/service_constants.h
@@ -21,6 +21,7 @@
#include "hammerd/dbus-constants.h"
#include "login_manager/dbus-constants.h"
#include "lorgnette/dbus-constants.h"
+#include "oobe_config/dbus-constants.h"
#include "permission_broker/dbus-constants.h"
#include "power_manager/dbus-constants.h"
#include "seneschal/dbus-constants.h"