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

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

Issue 393343002: Rename "managed (mode|user)" to "supervised user" (part 7) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more alphabetize (and rebase again) Created 6 years, 5 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 | Annotate | Revision Log
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 const std::string& username) const OVERRIDE; 88 const std::string& username) const OVERRIDE;
89 virtual bool IsCurrentUserOwner() const OVERRIDE; 89 virtual bool IsCurrentUserOwner() const OVERRIDE;
90 virtual bool IsCurrentUserNew() const OVERRIDE; 90 virtual bool IsCurrentUserNew() const OVERRIDE;
91 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const OVERRIDE; 91 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const OVERRIDE;
92 virtual bool CanCurrentUserLock() const OVERRIDE; 92 virtual bool CanCurrentUserLock() const OVERRIDE;
93 virtual bool IsUserLoggedIn() const OVERRIDE; 93 virtual bool IsUserLoggedIn() const OVERRIDE;
94 virtual bool IsLoggedInAsRegularUser() const OVERRIDE; 94 virtual bool IsLoggedInAsRegularUser() const OVERRIDE;
95 virtual bool IsLoggedInAsDemoUser() const OVERRIDE; 95 virtual bool IsLoggedInAsDemoUser() const OVERRIDE;
96 virtual bool IsLoggedInAsPublicAccount() const OVERRIDE; 96 virtual bool IsLoggedInAsPublicAccount() const OVERRIDE;
97 virtual bool IsLoggedInAsGuest() const OVERRIDE; 97 virtual bool IsLoggedInAsGuest() const OVERRIDE;
98 virtual bool IsLoggedInAsLocallyManagedUser() const OVERRIDE; 98 virtual bool IsLoggedInAsSupervisedUser() const OVERRIDE;
99 virtual bool IsLoggedInAsKioskApp() const OVERRIDE; 99 virtual bool IsLoggedInAsKioskApp() const OVERRIDE;
100 virtual bool IsLoggedInAsStub() const OVERRIDE; 100 virtual bool IsLoggedInAsStub() const OVERRIDE;
101 virtual bool IsSessionStarted() const OVERRIDE; 101 virtual bool IsSessionStarted() const OVERRIDE;
102 virtual bool IsUserNonCryptohomeDataEphemeral( 102 virtual bool IsUserNonCryptohomeDataEphemeral(
103 const std::string& email) const OVERRIDE; 103 const std::string& email) const OVERRIDE;
104 virtual void SetUserFlow(const std::string& email, UserFlow* flow) OVERRIDE {} 104 virtual void SetUserFlow(const std::string& email, UserFlow* flow) OVERRIDE {}
105 virtual UserFlow* GetCurrentUserFlow() const OVERRIDE; 105 virtual UserFlow* GetCurrentUserFlow() const OVERRIDE;
106 virtual UserFlow* GetUserFlow(const std::string& email) const OVERRIDE; 106 virtual UserFlow* GetUserFlow(const std::string& email) const OVERRIDE;
107 virtual void ResetUserFlow(const std::string& email) OVERRIDE {} 107 virtual void ResetUserFlow(const std::string& email) OVERRIDE {}
108 virtual void AddObserver(Observer* obs) OVERRIDE {} 108 virtual void AddObserver(Observer* obs) OVERRIDE {}
109 virtual void RemoveObserver(Observer* obs) OVERRIDE {} 109 virtual void RemoveObserver(Observer* obs) OVERRIDE {}
110 virtual void AddSessionStateObserver( 110 virtual void AddSessionStateObserver(
111 UserSessionStateObserver* obs) OVERRIDE {} 111 UserSessionStateObserver* obs) OVERRIDE {}
112 virtual void RemoveSessionStateObserver( 112 virtual void RemoveSessionStateObserver(
113 UserSessionStateObserver* obs) OVERRIDE {} 113 UserSessionStateObserver* obs) OVERRIDE {}
114 virtual void NotifyLocalStateChanged() OVERRIDE {} 114 virtual void NotifyLocalStateChanged() OVERRIDE {}
115 virtual bool AreLocallyManagedUsersAllowed() const OVERRIDE; 115 virtual bool AreSupervisedUsersAllowed() const OVERRIDE;
116 116
117 void set_owner_email(const std::string& owner_email) { 117 void set_owner_email(const std::string& owner_email) {
118 owner_email_ = owner_email; 118 owner_email_ = owner_email;
119 } 119 }
120 120
121 void set_multi_profile_user_controller( 121 void set_multi_profile_user_controller(
122 MultiProfileUserController* controller) { 122 MultiProfileUserController* controller) {
123 multi_profile_user_controller_ = controller; 123 multi_profile_user_controller_ = controller;
124 } 124 }
125 125
(...skipping 11 matching lines...) Expand all
137 // active user. 137 // active user.
138 std::string active_user_id_; 138 std::string active_user_id_;
139 MultiProfileUserController* multi_profile_user_controller_; 139 MultiProfileUserController* multi_profile_user_controller_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 141 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
142 }; 142 };
143 143
144 } // namespace chromeos 144 } // namespace chromeos
145 145
146 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ 146 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698