Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / fake_supervised_user_manager.cc
blob1af8713661f46ffa9dd7361e9cb86f8965e39ba2
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"
7 #include <string>
9 namespace chromeos {
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) {
21 return NULL;
24 std::string FakeSupervisedUserManager::GenerateUserId() {
25 return std::string();
28 const User* FakeSupervisedUserManager::FindByDisplayName(
29 const base::string16& display_name) const {
30 return NULL;
33 const User* FakeSupervisedUserManager::FindBySyncId(
34 const std::string& sync_id) const {
35 return NULL;
38 std::string FakeSupervisedUserManager::GetUserSyncId(
39 const std::string& managed_user_id) const {
40 return std::string();
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 {
50 return std::string();
53 std::string FakeSupervisedUserManager::GetManagerDisplayEmail(
54 const std::string& managed_user_id) const {
55 return std::string();
58 SupervisedUserAuthentication* FakeSupervisedUserManager::GetAuthentication() {
59 return NULL;
62 } // namespace chromeos