blob: 3a1fc56af8a994ff842e687baaf2f0bd4f154c1f [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 "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "components/policy/proto/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