Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2319)

Unified Diff: chrome/browser/policy/device_management_service_configuration.h

Issue 240903002: Add consumer_device_management_service() in BrowserPolicyConnectorChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move consumer management stuffs to chromeos-only code. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/device_management_service_configuration.h
diff --git a/chrome/browser/policy/device_management_service_configuration.h b/chrome/browser/policy/device_management_service_configuration.h
new file mode 100644
index 0000000000000000000000000000000000000000..ed62bfc428adbb8a2058c08a429e5e4cd5629bbe
--- /dev/null
+++ b/chrome/browser/policy/device_management_service_configuration.h
@@ -0,0 +1,28 @@
+// Copyright 2014 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.
+
+#ifndef CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_
+#define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_
+
+#include <string>
+
+#include "components/policy/core/common/cloud/device_management_service.h"
+
+namespace policy {
+
+// The real implementation of the device management service configuration that
+// is used to create the device management service instance.
+class DeviceManagementServiceConfiguration
+ : public DeviceManagementService::Configuration {
+ public:
+ virtual ~DeviceManagementServiceConfiguration();
+
+ virtual std::string GetServerUrl() OVERRIDE;
Mattias Nissler (ping if slow) 2014/04/24 11:38:12 #include <base/compiler_specific.h> for OVERRIDE
davidyu 2014/04/25 01:45:40 Done.
+ virtual std::string GetAgentParameter() OVERRIDE;
+ virtual std::string GetPlatformParameter() OVERRIDE;
+};
+
+} // namespace policy
+
+#endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_

Powered by Google App Engine
This is Rietveld 408576698