Home | History | Annotate | Download | only in policy
      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
      3 // found in the LICENSE file.
      4 
      5 #include "chrome/browser/chromeos/policy/device_policy_builder.h"
      6 
      7 #include "chrome/browser/policy/cloud/cloud_policy_constants.h"
      8 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h"
      9 
     10 namespace em = enterprise_management;
     11 
     12 namespace policy {
     13 
     14 template<>
     15 TypedPolicyBuilder<em::ChromeDeviceSettingsProto>::TypedPolicyBuilder()
     16     : payload_(new em::ChromeDeviceSettingsProto()) {
     17   policy_data().set_policy_type(dm_protocol::kChromeDevicePolicyType);
     18 }
     19 
     20 // Have the instantiation compiled into the module.
     21 template class TypedPolicyBuilder<em::ChromeDeviceSettingsProto>;
     22 
     23 }  // namespace policy
     24