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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698