Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: chrome/browser/chromeos/login/fake_user_manager.cc

Issue 69863006: Address races in UserImageManagerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix WallpaperManager browser tests now that UserImageLoader contains a DCHECK(success). Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/fake_user_manager.h ('k') | chrome/browser/chromeos/login/mock_user_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698