OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_ | |
6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/compiler_specific.h" | |
11 #include "components/policy/core/common/cloud/device_management_service.h" | |
12 | |
13 namespace policy { | |
14 | |
15 // The real implementation of the device management service configuration that | |
16 // 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.
| |
17 class DeviceManagementServiceConfiguration | |
18 : public DeviceManagementService::Configuration { | |
19 public: | |
20 explicit DeviceManagementServiceConfiguration(const std::string& server_url); | |
21 virtual ~DeviceManagementServiceConfiguration(); | |
22 | |
23 virtual std::string GetServerUrl() OVERRIDE; | |
24 virtual std::string GetAgentParameter() OVERRIDE; | |
25 virtual std::string GetPlatformParameter() OVERRIDE; | |
26 | |
27 private: | |
28 std::string server_url_; | |
bartfab (slow)
2014/04/25 09:17:35
Nit: const.
davidyu
2014/04/28 02:58:22
Done.
| |
29 }; | |
bartfab (slow)
2014/04/25 09:17:35
Nit: Add DISALLOW_COPY_AND_ASSIGN(DeviceManagement
davidyu
2014/04/28 02:58:22
Done.
| |
30 | |
31 } // namespace policy | |
32 | |
33 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_ | |
OLD | NEW |