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

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

Issue 600733004: Rename GetUsersAdmittedForMultiProfile to GetUsersAllowedForMultiProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual UserImageManager* GetUserImageManager( 42 virtual UserImageManager* GetUserImageManager(
43 const std::string& user_id) OVERRIDE; 43 const std::string& user_id) OVERRIDE;
44 virtual SupervisedUserManager* GetSupervisedUserManager() OVERRIDE; 44 virtual SupervisedUserManager* GetSupervisedUserManager() OVERRIDE;
45 virtual void SetUserFlow(const std::string& email, UserFlow* flow) OVERRIDE {} 45 virtual void SetUserFlow(const std::string& email, UserFlow* flow) OVERRIDE {}
46 virtual UserFlow* GetCurrentUserFlow() const OVERRIDE; 46 virtual UserFlow* GetCurrentUserFlow() const OVERRIDE;
47 virtual UserFlow* GetUserFlow(const std::string& email) const OVERRIDE; 47 virtual UserFlow* GetUserFlow(const std::string& email) const OVERRIDE;
48 virtual void ResetUserFlow(const std::string& email) OVERRIDE {} 48 virtual void ResetUserFlow(const std::string& email) OVERRIDE {}
49 49
50 // UserManager overrides. 50 // UserManager overrides.
51 virtual const user_manager::UserList& GetUsers() const OVERRIDE; 51 virtual const user_manager::UserList& GetUsers() const OVERRIDE;
52 virtual user_manager::UserList GetUsersAdmittedForMultiProfile() 52 virtual user_manager::UserList GetUsersAllowedForMultiProfile()
53 const OVERRIDE; 53 const OVERRIDE;
54 virtual const user_manager::UserList& GetLoggedInUsers() const OVERRIDE; 54 virtual const user_manager::UserList& GetLoggedInUsers() const OVERRIDE;
55 55
56 // Set the user as logged in. 56 // Set the user as logged in.
57 virtual void UserLoggedIn(const std::string& email, 57 virtual void UserLoggedIn(const std::string& email,
58 const std::string& username_hash, 58 const std::string& username_hash,
59 bool browser_restart) OVERRIDE; 59 bool browser_restart) OVERRIDE;
60 60
61 virtual const user_manager::User* GetActiveUser() const OVERRIDE; 61 virtual const user_manager::User* GetActiveUser() const OVERRIDE;
62 virtual user_manager::User* GetActiveUser() OVERRIDE; 62 virtual user_manager::User* GetActiveUser() OVERRIDE;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // active user. 166 // active user.
167 std::string active_user_id_; 167 std::string active_user_id_;
168 MultiProfileUserController* multi_profile_user_controller_; 168 MultiProfileUserController* multi_profile_user_controller_;
169 169
170 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 170 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
171 }; 171 };
172 172
173 } // namespace chromeos 173 } // namespace chromeos
174 174
175 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ 175 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698