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

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: 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const std::string& username) const OVERRIDE; 85 const std::string& username) const OVERRIDE;
86 virtual bool IsCurrentUserOwner() const OVERRIDE; 86 virtual bool IsCurrentUserOwner() const OVERRIDE;
87 virtual bool IsCurrentUserNew() const OVERRIDE; 87 virtual bool IsCurrentUserNew() const OVERRIDE;
88 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const OVERRIDE; 88 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const OVERRIDE;
89 virtual bool CanCurrentUserLock() const OVERRIDE; 89 virtual bool CanCurrentUserLock() const OVERRIDE;
90 virtual bool IsUserLoggedIn() const OVERRIDE; 90 virtual bool IsUserLoggedIn() const OVERRIDE;
91 virtual bool IsLoggedInAsRegularUser() const OVERRIDE; 91 virtual bool IsLoggedInAsRegularUser() const OVERRIDE;
92 virtual bool IsLoggedInAsDemoUser() const OVERRIDE; 92 virtual bool IsLoggedInAsDemoUser() const OVERRIDE;
93 virtual bool IsLoggedInAsPublicAccount() const OVERRIDE; 93 virtual bool IsLoggedInAsPublicAccount() const OVERRIDE;
94 virtual bool IsLoggedInAsGuest() const OVERRIDE; 94 virtual bool IsLoggedInAsGuest() const OVERRIDE;
95 virtual bool IsLoggedInAsLocallyManagedUser() const OVERRIDE; 95 virtual bool IsLoggedInAsSupervisedUser() const OVERRIDE;
96 virtual bool IsLoggedInAsKioskApp() const OVERRIDE; 96 virtual bool IsLoggedInAsKioskApp() const OVERRIDE;
97 virtual bool IsLoggedInAsStub() const OVERRIDE; 97 virtual bool IsLoggedInAsStub() const OVERRIDE;
98 virtual bool IsSessionStarted() const OVERRIDE; 98 virtual bool IsSessionStarted() const OVERRIDE;
99 virtual bool IsUserNonCryptohomeDataEphemeral( 99 virtual bool IsUserNonCryptohomeDataEphemeral(
100 const std::string& email) const OVERRIDE; 100 const std::string& email) const OVERRIDE;
101 virtual void SetUserFlow(const std::string& email, UserFlow* flow) OVERRIDE {} 101 virtual void SetUserFlow(const std::string& email, UserFlow* flow) OVERRIDE {}
102 virtual UserFlow* GetCurrentUserFlow() const OVERRIDE; 102 virtual UserFlow* GetCurrentUserFlow() const OVERRIDE;
103 virtual UserFlow* GetUserFlow(const std::string& email) const OVERRIDE; 103 virtual UserFlow* GetUserFlow(const std::string& email) const OVERRIDE;
104 virtual void ResetUserFlow(const std::string& email) OVERRIDE {} 104 virtual void ResetUserFlow(const std::string& email) OVERRIDE {}
105 virtual void AddObserver(Observer* obs) OVERRIDE {} 105 virtual void AddObserver(Observer* obs) OVERRIDE {}
106 virtual void RemoveObserver(Observer* obs) OVERRIDE {} 106 virtual void RemoveObserver(Observer* obs) OVERRIDE {}
107 virtual void AddSessionStateObserver( 107 virtual void AddSessionStateObserver(
108 UserSessionStateObserver* obs) OVERRIDE {} 108 UserSessionStateObserver* obs) OVERRIDE {}
109 virtual void RemoveSessionStateObserver( 109 virtual void RemoveSessionStateObserver(
110 UserSessionStateObserver* obs) OVERRIDE {} 110 UserSessionStateObserver* obs) OVERRIDE {}
111 virtual void NotifyLocalStateChanged() OVERRIDE {} 111 virtual void NotifyLocalStateChanged() OVERRIDE {}
112 virtual bool AreLocallyManagedUsersAllowed() const OVERRIDE; 112 virtual bool AreSupervisedUsersAllowed() const OVERRIDE;
113 113
114 void set_owner_email(const std::string& owner_email) { 114 void set_owner_email(const std::string& owner_email) {
115 owner_email_ = owner_email; 115 owner_email_ = owner_email;
116 } 116 }
117 117
118 void set_multi_profile_user_controller( 118 void set_multi_profile_user_controller(
119 MultiProfileUserController* controller) { 119 MultiProfileUserController* controller) {
120 multi_profile_user_controller_ = controller; 120 multi_profile_user_controller_ = controller;
121 } 121 }
122 122
(...skipping 11 matching lines...) Expand all
134 // active user. 134 // active user.
135 std::string active_user_id_; 135 std::string active_user_id_;
136 MultiProfileUserController* multi_profile_user_controller_; 136 MultiProfileUserController* multi_profile_user_controller_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 138 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
139 }; 139 };
140 140
141 } // namespace chromeos 141 } // namespace chromeos
142 142
143 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ 143 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698