root/chrome/browser/chromeos/policy/stub_enterprise_install_attributes.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. SetDomain
  2. SetRegistrationUser
  3. SetDeviceId
  4. SetMode

// 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/stub_enterprise_install_attributes.h"

#include <string>

#include "components/policy/core/common/cloud/cloud_policy_constants.h"

namespace policy {

StubEnterpriseInstallAttributes::StubEnterpriseInstallAttributes()
    : EnterpriseInstallAttributes(NULL) {
  device_locked_ = true;
}

void StubEnterpriseInstallAttributes::SetDomain(const std::string& domain) {
  registration_domain_ = domain;
}

void StubEnterpriseInstallAttributes::SetRegistrationUser(
    const std::string& user) {
  registration_user_ = user;
}

void StubEnterpriseInstallAttributes::SetDeviceId(const std::string& id) {
  registration_device_id_ = id;
}

void StubEnterpriseInstallAttributes::SetMode(DeviceMode mode) {
  registration_mode_ = mode;
}

}  // namespace policy

/* [<][>][^][v][top][bottom][index][help] */