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

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

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual void SaveUserDisplayEmail(const std::string& username, 95 virtual void SaveUserDisplayEmail(const std::string& username,
96 const std::string& display_email) OVERRIDE {} 96 const std::string& display_email) OVERRIDE {}
97 virtual std::string GetUserDisplayEmail( 97 virtual std::string GetUserDisplayEmail(
98 const std::string& username) const OVERRIDE; 98 const std::string& username) const OVERRIDE;
99 virtual bool IsCurrentUserOwner() const OVERRIDE; 99 virtual bool IsCurrentUserOwner() const OVERRIDE;
100 virtual bool IsCurrentUserNew() const OVERRIDE; 100 virtual bool IsCurrentUserNew() const OVERRIDE;
101 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const OVERRIDE; 101 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const OVERRIDE;
102 virtual bool CanCurrentUserLock() const OVERRIDE; 102 virtual bool CanCurrentUserLock() const OVERRIDE;
103 virtual bool IsUserLoggedIn() const OVERRIDE; 103 virtual bool IsUserLoggedIn() const OVERRIDE;
104 virtual bool IsLoggedInAsRegularUser() const OVERRIDE; 104 virtual bool IsLoggedInAsRegularUser() const OVERRIDE;
105 virtual bool IsLoggedInAsDemoUser() const OVERRIDE;
106 virtual bool IsLoggedInAsPublicAccount() const OVERRIDE; 105 virtual bool IsLoggedInAsPublicAccount() const OVERRIDE;
107 virtual bool IsLoggedInAsGuest() const OVERRIDE; 106 virtual bool IsLoggedInAsGuest() const OVERRIDE;
108 virtual bool IsLoggedInAsSupervisedUser() const OVERRIDE; 107 virtual bool IsLoggedInAsSupervisedUser() const OVERRIDE;
109 virtual bool IsLoggedInAsKioskApp() const OVERRIDE; 108 virtual bool IsLoggedInAsKioskApp() const OVERRIDE;
110 virtual bool IsLoggedInAsStub() const OVERRIDE; 109 virtual bool IsLoggedInAsStub() const OVERRIDE;
111 virtual bool IsSessionStarted() const OVERRIDE; 110 virtual bool IsSessionStarted() const OVERRIDE;
112 virtual bool IsUserNonCryptohomeDataEphemeral( 111 virtual bool IsUserNonCryptohomeDataEphemeral(
113 const std::string& email) const OVERRIDE; 112 const std::string& email) const OVERRIDE;
114 virtual void AddObserver(Observer* obs) OVERRIDE {} 113 virtual void AddObserver(Observer* obs) OVERRIDE {}
115 virtual void RemoveObserver(Observer* obs) OVERRIDE {} 114 virtual void RemoveObserver(Observer* obs) OVERRIDE {}
(...skipping 17 matching lines...) Expand all
133 virtual void PerformPreUserListLoadingActions() OVERRIDE {} 132 virtual void PerformPreUserListLoadingActions() OVERRIDE {}
134 virtual void PerformPostUserListLoadingActions() OVERRIDE {} 133 virtual void PerformPostUserListLoadingActions() OVERRIDE {}
135 virtual void PerformPostUserLoggedInActions(bool browser_restart) OVERRIDE {} 134 virtual void PerformPostUserLoggedInActions(bool browser_restart) OVERRIDE {}
136 virtual bool IsDemoApp(const std::string& user_id) const OVERRIDE; 135 virtual bool IsDemoApp(const std::string& user_id) const OVERRIDE;
137 virtual bool IsKioskApp(const std::string& user_id) const OVERRIDE; 136 virtual bool IsKioskApp(const std::string& user_id) const OVERRIDE;
138 virtual bool IsPublicAccountMarkedForRemoval( 137 virtual bool IsPublicAccountMarkedForRemoval(
139 const std::string& user_id) const OVERRIDE; 138 const std::string& user_id) const OVERRIDE;
140 virtual void DemoAccountLoggedIn() OVERRIDE {} 139 virtual void DemoAccountLoggedIn() OVERRIDE {}
141 virtual void KioskAppLoggedIn(const std::string& app_id) OVERRIDE {} 140 virtual void KioskAppLoggedIn(const std::string& app_id) OVERRIDE {}
142 virtual void PublicAccountUserLoggedIn(user_manager::User* user) OVERRIDE {} 141 virtual void PublicAccountUserLoggedIn(user_manager::User* user) OVERRIDE {}
143 virtual void RetailModeUserLoggedIn() OVERRIDE {}
144 virtual void SupervisedUserLoggedIn(const std::string& user_id) OVERRIDE {} 142 virtual void SupervisedUserLoggedIn(const std::string& user_id) OVERRIDE {}
145 143
146 void set_owner_email(const std::string& owner_email) { 144 void set_owner_email(const std::string& owner_email) {
147 owner_email_ = owner_email; 145 owner_email_ = owner_email;
148 } 146 }
149 147
150 void set_multi_profile_user_controller( 148 void set_multi_profile_user_controller(
151 MultiProfileUserController* controller) { 149 MultiProfileUserController* controller) {
152 multi_profile_user_controller_ = controller; 150 multi_profile_user_controller_ = controller;
153 } 151 }
(...skipping 12 matching lines...) Expand all
166 // active user. 164 // active user.
167 std::string active_user_id_; 165 std::string active_user_id_;
168 MultiProfileUserController* multi_profile_user_controller_; 166 MultiProfileUserController* multi_profile_user_controller_;
169 167
170 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 168 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
171 }; 169 };
172 170
173 } // namespace chromeos 171 } // namespace chromeos
174 172
175 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ 173 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698