1 // Copyright 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/login/fake_supervised_user_manager.h"
11 FakeSupervisedUserManager::FakeSupervisedUserManager() {}
13 FakeSupervisedUserManager::~FakeSupervisedUserManager() {
16 const User
* FakeSupervisedUserManager::CreateUserRecord(
17 const std::string
& manager_id
,
18 const std::string
& local_user_id
,
19 const std::string
& sync_user_id
,
20 const base::string16
& display_name
) {
24 std::string
FakeSupervisedUserManager::GenerateUserId() {
28 const User
* FakeSupervisedUserManager::FindByDisplayName(
29 const base::string16
& display_name
) const {
33 const User
* FakeSupervisedUserManager::FindBySyncId(
34 const std::string
& sync_id
) const {
38 std::string
FakeSupervisedUserManager::GetUserSyncId(
39 const std::string
& managed_user_id
) const {
43 base::string16
FakeSupervisedUserManager::GetManagerDisplayName(
44 const std::string
& managed_user_id
) const {
45 return base::string16();
48 std::string
FakeSupervisedUserManager::GetManagerUserId(
49 const std::string
& managed_user_id
) const {
53 std::string
FakeSupervisedUserManager::GetManagerDisplayEmail(
54 const std::string
& managed_user_id
) const {
58 SupervisedUserAuthentication
* FakeSupervisedUserManager::GetAuthentication() {
62 } // namespace chromeos