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

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

Issue 2438063002: user_manager: Remove deps on session_manager (Closed)
Patch Set: fix nits in PS1 Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CHROME_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 UserImageManager* GetUserImageManager(const AccountId& account_id) override; 53 UserImageManager* GetUserImageManager(const AccountId& account_id) override;
54 SupervisedUserManager* GetSupervisedUserManager() override; 54 SupervisedUserManager* GetSupervisedUserManager() override;
55 void SetUserFlow(const AccountId& account_id, UserFlow* flow) override; 55 void SetUserFlow(const AccountId& account_id, UserFlow* flow) override;
56 UserFlow* GetCurrentUserFlow() const override; 56 UserFlow* GetCurrentUserFlow() const override;
57 UserFlow* GetUserFlow(const AccountId& account_id) const override; 57 UserFlow* GetUserFlow(const AccountId& account_id) const override;
58 void ResetUserFlow(const AccountId& account_id) override; 58 void ResetUserFlow(const AccountId& account_id) override;
59 user_manager::UserList GetUsersAllowedForSupervisedUsersCreation() 59 user_manager::UserList GetUsersAllowedForSupervisedUsersCreation()
60 const override; 60 const override;
61 void SwitchActiveUser(const AccountId& account_id) override; 61 void SwitchActiveUser(const AccountId& account_id) override;
62 const AccountId& GetOwnerAccountId() const override; 62 const AccountId& GetOwnerAccountId() const override;
63 void SessionStarted() override; 63 void OnSessionStarted() override;
64 void RemoveUser(const AccountId& account_id, 64 void RemoveUser(const AccountId& account_id,
65 user_manager::RemoveUserDelegate* delegate) override; 65 user_manager::RemoveUserDelegate* delegate) override;
66 void RemoveUserFromList(const AccountId& account_id) override; 66 void RemoveUserFromList(const AccountId& account_id) override;
67 void UpdateLoginState(const user_manager::User* active_user, 67 void UpdateLoginState(const user_manager::User* active_user,
68 const user_manager::User* primary_user, 68 const user_manager::User* primary_user,
69 bool is_current_user_owner) const override; 69 bool is_current_user_owner) const override;
70 bool GetPlatformKnownUserId(const std::string& user_email, 70 bool GetPlatformKnownUserId(const std::string& user_email,
71 const std::string& gaia_id, 71 const std::string& gaia_id,
72 AccountId* out_account_id) const override; 72 AccountId* out_account_id) const override;
73 const AccountId& GetGuestAccountId() const override; 73 const AccountId& GetGuestAccountId() const override;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // Specific flows by user e-mail. 120 // Specific flows by user e-mail.
121 // Keys should be canonicalized before access. 121 // Keys should be canonicalized before access.
122 FlowMap specific_flows_; 122 FlowMap specific_flows_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(FakeChromeUserManager); 124 DISALLOW_COPY_AND_ASSIGN(FakeChromeUserManager);
125 }; 125 };
126 126
127 } // namespace chromeos 127 } // namespace chromeos
128 128
129 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_ 129 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698