Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / chromeos / policy / stub_enterprise_install_attributes.cc
blob5d67f7c0b61e465fb803f77153f6c246334fa3e5
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/stub_enterprise_install_attributes.h"
7 #include <string>
9 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
11 namespace policy {
13 StubEnterpriseInstallAttributes::StubEnterpriseInstallAttributes()
14 : EnterpriseInstallAttributes(NULL) {
15 device_locked_ = true;
18 void StubEnterpriseInstallAttributes::SetDomain(const std::string& domain) {
19 registration_domain_ = domain;
22 void StubEnterpriseInstallAttributes::SetRegistrationUser(
23 const std::string& user) {
24 registration_user_ = user;
27 void StubEnterpriseInstallAttributes::SetDeviceId(const std::string& id) {
28 registration_device_id_ = id;
31 void StubEnterpriseInstallAttributes::SetMode(DeviceMode mode) {
32 registration_mode_ = mode;
35 } // namespace policy