Chromium Code Reviews| 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..07df19cb0de55710149471a0375a9458e78b7c12 |
| --- /dev/null |
| +++ b/chrome/browser/policy/device_management_service_configuration.h |
| @@ -0,0 +1,33 @@ |
| +// 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 "base/compiler_specific.h" |
| +#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. |
|
bartfab (slow)
2014/04/25 09:17:35
Nit: s/the device management service instance/devi
davidyu
2014/04/28 02:58:22
Done.
|
| +class DeviceManagementServiceConfiguration |
| + : public DeviceManagementService::Configuration { |
| + public: |
| + explicit DeviceManagementServiceConfiguration(const std::string& server_url); |
| + virtual ~DeviceManagementServiceConfiguration(); |
| + |
| + virtual std::string GetServerUrl() OVERRIDE; |
| + virtual std::string GetAgentParameter() OVERRIDE; |
| + virtual std::string GetPlatformParameter() OVERRIDE; |
| + |
| + private: |
| + std::string server_url_; |
|
bartfab (slow)
2014/04/25 09:17:35
Nit: const.
davidyu
2014/04/28 02:58:22
Done.
|
| +}; |
|
bartfab (slow)
2014/04/25 09:17:35
Nit: Add DISALLOW_COPY_AND_ASSIGN(DeviceManagement
davidyu
2014/04/28 02:58:22
Done.
|
| + |
| +} // namespace policy |
| + |
| +#endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_ |