OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/login/fake_user_manager.h" | 5 #include "chrome/browser/chromeos/login/fake_user_manager.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/login/fake_supervised_user_manager.h" | 7 #include "chrome/browser/chromeos/login/fake_supervised_user_manager.h" |
8 | 8 |
9 namespace { | 9 namespace { |
10 | 10 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 } | 144 } |
145 | 145 |
146 bool FakeUserManager::IsKnownUser(const std::string& email) const { | 146 bool FakeUserManager::IsKnownUser(const std::string& email) const { |
147 return true; | 147 return true; |
148 } | 148 } |
149 | 149 |
150 const User* FakeUserManager::FindUser(const std::string& email) const { | 150 const User* FakeUserManager::FindUser(const std::string& email) const { |
151 return NULL; | 151 return NULL; |
152 } | 152 } |
153 | 153 |
| 154 User* FakeUserManager::FindUserAndModify(const std::string& email) { |
| 155 return NULL; |
| 156 } |
| 157 |
154 const User* FakeUserManager::GetLoggedInUser() const { | 158 const User* FakeUserManager::GetLoggedInUser() const { |
155 return NULL; | 159 return NULL; |
156 } | 160 } |
157 | 161 |
158 User* FakeUserManager::GetLoggedInUser() { | 162 User* FakeUserManager::GetLoggedInUser() { |
159 return NULL; | 163 return NULL; |
160 } | 164 } |
161 | 165 |
162 const User* FakeUserManager::GetPrimaryUser() const { | 166 const User* FakeUserManager::GetPrimaryUser() const { |
163 return primary_user_; | 167 return primary_user_; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 } | 279 } |
276 | 280 |
277 bool FakeUserManager::RespectLocalePreference( | 281 bool FakeUserManager::RespectLocalePreference( |
278 Profile* profile, | 282 Profile* profile, |
279 const User* user, | 283 const User* user, |
280 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const { | 284 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const { |
281 return false; | 285 return false; |
282 } | 286 } |
283 | 287 |
284 } // namespace chromeos | 288 } // namespace chromeos |
OLD | NEW |