Fix the duplicatedly commited composition text when switching IME.
[chromium-blink-merge.git] / chrome / browser / chromeos / policy / device_policy_builder.cc
blob140cc898d29a36ceefa91981d3c03e165c27229e
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.
5 #include "chrome/browser/chromeos/policy/device_policy_builder.h"
7 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h"
8 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
10 namespace em = enterprise_management;
12 namespace policy {
14 template<>
15 TypedPolicyBuilder<em::ChromeDeviceSettingsProto>::TypedPolicyBuilder()
16 : payload_(new em::ChromeDeviceSettingsProto()) {
17 policy_data().set_policy_type(dm_protocol::kChromeDevicePolicyType);
20 // Have the instantiation compiled into the module.
21 template class TypedPolicyBuilder<em::ChromeDeviceSettingsProto>;
23 } // namespace policy