OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/policy/device_policy_builder.h" | 5 #include "chrome/browser/chromeos/policy/device_policy_builder.h" |
6 | 6 |
7 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" | |
8 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" | 7 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" |
| 8 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
9 | 9 |
10 namespace em = enterprise_management; | 10 namespace em = enterprise_management; |
11 | 11 |
12 namespace policy { | 12 namespace policy { |
13 | 13 |
14 template<> | 14 template<> |
15 TypedPolicyBuilder<em::ChromeDeviceSettingsProto>::TypedPolicyBuilder() | 15 TypedPolicyBuilder<em::ChromeDeviceSettingsProto>::TypedPolicyBuilder() |
16 : payload_(new em::ChromeDeviceSettingsProto()) { | 16 : payload_(new em::ChromeDeviceSettingsProto()) { |
17 policy_data().set_policy_type(dm_protocol::kChromeDevicePolicyType); | 17 policy_data().set_policy_type(dm_protocol::kChromeDevicePolicyType); |
18 } | 18 } |
19 | 19 |
20 // Have the instantiation compiled into the module. | 20 // Have the instantiation compiled into the module. |
21 template class TypedPolicyBuilder<em::ChromeDeviceSettingsProto>; | 21 template class TypedPolicyBuilder<em::ChromeDeviceSettingsProto>; |
22 | 22 |
23 } // namespace policy | 23 } // namespace policy |
OLD | NEW |