Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / policy / device_management_service_configuration.h
blob98cb681802d9fd14ccf8539c67d1c6b3c1dc3093
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.
5 #ifndef CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_
6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_
8 #include <string>
10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
12 #include "components/policy/core/common/cloud/device_management_service.h"
14 namespace policy {
16 // The real implementation of the device management service configuration that
17 // is used to create device management service instances.
18 class DeviceManagementServiceConfiguration
19 : public DeviceManagementService::Configuration {
20 public:
21 explicit DeviceManagementServiceConfiguration(const std::string& server_url);
22 ~DeviceManagementServiceConfiguration() override;
24 std::string GetServerUrl() override;
25 std::string GetAgentParameter() override;
26 std::string GetPlatformParameter() override;
28 private:
29 const std::string server_url_;
31 DISALLOW_COPY_AND_ASSIGN(DeviceManagementServiceConfiguration);
34 } // namespace policy
36 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_SERVICE_CONFIGURATION_H_