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

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

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/users/fake_user_manager.h" 5 #include "chrome/browser/chromeos/login/users/fake_user_manager.h"
6 6
7 #include "base/task_runner.h" 7 #include "base/task_runner.h"
8 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h" 8 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h"
9 #include "chrome/browser/chromeos/profiles/profile_helper.h" 9 #include "chrome/browser/chromeos/profiles/profile_helper.h"
10 #include "chrome/grit/theme_resources.h" 10 #include "chrome/grit/theme_resources.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } 273 }
274 274
275 bool FakeUserManager::IsUserLoggedIn() const { 275 bool FakeUserManager::IsUserLoggedIn() const {
276 return logged_in_users_.size() > 0; 276 return logged_in_users_.size() > 0;
277 } 277 }
278 278
279 bool FakeUserManager::IsLoggedInAsUserWithGaiaAccount() const { 279 bool FakeUserManager::IsLoggedInAsUserWithGaiaAccount() const {
280 return true; 280 return true;
281 } 281 }
282 282
283 bool FakeUserManager::IsLoggedInAsDemoUser() const {
284 return false;
285 }
286
287 bool FakeUserManager::IsLoggedInAsPublicAccount() const { 283 bool FakeUserManager::IsLoggedInAsPublicAccount() const {
288 return false; 284 return false;
289 } 285 }
290 286
291 bool FakeUserManager::IsLoggedInAsGuest() const { 287 bool FakeUserManager::IsLoggedInAsGuest() const {
292 return false; 288 return false;
293 } 289 }
294 290
295 bool FakeUserManager::IsLoggedInAsSupervisedUser() const { 291 bool FakeUserManager::IsLoggedInAsSupervisedUser() const {
296 return false; 292 return false;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 bool FakeUserManager::IsKioskApp(const std::string& user_id) const { 348 bool FakeUserManager::IsKioskApp(const std::string& user_id) const {
353 return false; 349 return false;
354 } 350 }
355 351
356 bool FakeUserManager::IsPublicAccountMarkedForRemoval( 352 bool FakeUserManager::IsPublicAccountMarkedForRemoval(
357 const std::string& user_id) const { 353 const std::string& user_id) const {
358 return false; 354 return false;
359 } 355 }
360 356
361 } // namespace chromeos 357 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/users/fake_user_manager.h ('k') | chrome/browser/chromeos/login/users/mock_user_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698