| OLD | NEW |
| 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 <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 UserFlow* GetCurrentUserFlow() const override; | 52 UserFlow* GetCurrentUserFlow() const override; |
| 53 UserFlow* GetUserFlow(const std::string& email) const override; | 53 UserFlow* GetUserFlow(const std::string& email) const override; |
| 54 void ResetUserFlow(const std::string& email) override; | 54 void ResetUserFlow(const std::string& email) override; |
| 55 user_manager::UserList GetUsersAllowedForSupervisedUsersCreation() | 55 user_manager::UserList GetUsersAllowedForSupervisedUsersCreation() |
| 56 const override; | 56 const override; |
| 57 void SwitchActiveUser(const std::string& email) override; | 57 void SwitchActiveUser(const std::string& email) override; |
| 58 const std::string& GetOwnerEmail() const override; | 58 const std::string& GetOwnerEmail() const override; |
| 59 void SessionStarted() override; | 59 void SessionStarted() override; |
| 60 void RemoveUser(const std::string& email, | 60 void RemoveUser(const std::string& email, |
| 61 user_manager::RemoveUserDelegate* delegate) override; | 61 user_manager::RemoveUserDelegate* delegate) override; |
| 62 bool FindKnownUserPrefs(const user_manager::UserID& user_id, |
| 63 const base::DictionaryValue** out_value) override; |
| 64 void UpdateKnownUserPrefs(const user_manager::UserID& user_id, |
| 65 const base::DictionaryValue& values, |
| 66 bool clear) override; |
| 62 | 67 |
| 63 void set_owner_email(const std::string& owner_email) { | 68 void set_owner_email(const std::string& owner_email) { |
| 64 owner_email_ = owner_email; | 69 owner_email_ = owner_email; |
| 65 } | 70 } |
| 66 | 71 |
| 67 void set_bootstrap_manager(BootstrapManager* bootstrap_manager) { | 72 void set_bootstrap_manager(BootstrapManager* bootstrap_manager) { |
| 68 bootstrap_manager_ = bootstrap_manager; | 73 bootstrap_manager_ = bootstrap_manager; |
| 69 } | 74 } |
| 70 | 75 |
| 71 void set_multi_profile_user_controller( | 76 void set_multi_profile_user_controller( |
| (...skipping 19 matching lines...) Expand all Loading... |
| 91 // Specific flows by user e-mail. | 96 // Specific flows by user e-mail. |
| 92 // Keys should be canonicalized before access. | 97 // Keys should be canonicalized before access. |
| 93 FlowMap specific_flows_; | 98 FlowMap specific_flows_; |
| 94 | 99 |
| 95 DISALLOW_COPY_AND_ASSIGN(FakeChromeUserManager); | 100 DISALLOW_COPY_AND_ASSIGN(FakeChromeUserManager); |
| 96 }; | 101 }; |
| 97 | 102 |
| 98 } // namespace chromeos | 103 } // namespace chromeos |
| 99 | 104 |
| 100 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_ | 105 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_ |
| OLD | NEW |