blob: eebc7044803d7bfac2edd64eaf1d44727119cb4c [file] [log] [blame]
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/policy/device_policy_builder.h"
#include "chrome/browser/policy/cloud/cloud_policy_constants.h"
#include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h"
namespace em = enterprise_management;
namespace policy {
template<>
TypedPolicyBuilder<em::ChromeDeviceSettingsProto>::TypedPolicyBuilder()
: payload_(new em::ChromeDeviceSettingsProto()) {
policy_data().set_policy_type(dm_protocol::kChromeDevicePolicyType);
}
// Have the instantiation compiled into the module.
template class TypedPolicyBuilder<em::ChromeDeviceSettingsProto>;
} // namespace policy