OLD | NEW |
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_CHROME_USER_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // Notifies the UI about a change to the user list. | 199 // Notifies the UI about a change to the user list. |
200 void NotifyUserListChanged(); | 200 void NotifyUserListChanged(); |
201 | 201 |
202 // Lazily creates default user flow. | 202 // Lazily creates default user flow. |
203 UserFlow* GetDefaultUserFlow() const; | 203 UserFlow* GetDefaultUserFlow() const; |
204 | 204 |
205 // MultiProfileUserControllerDelegate implementation: | 205 // MultiProfileUserControllerDelegate implementation: |
206 void OnUserNotAllowed(const std::string& user_email) override; | 206 void OnUserNotAllowed(const std::string& user_email) override; |
207 | 207 |
208 // BootstrapManager::Delegate implementation: | 208 // BootstrapManager::Delegate implementation: |
209 void RemovePendingBootstrapUser(const std::string& user_id) override; | 209 void RemovePendingBootstrapUser(const AccountId& account_id) override; |
210 | 210 |
211 // Update the number of users. | 211 // Update the number of users. |
212 void UpdateNumberOfUsers(); | 212 void UpdateNumberOfUsers(); |
213 | 213 |
214 // Starts (or stops) automatic timezone refresh on geolocation, | 214 // Starts (or stops) automatic timezone refresh on geolocation, |
215 // depending on user preferences. | 215 // depending on user preferences. |
216 void UpdateUserTimeZoneRefresher(Profile* profile); | 216 void UpdateUserTimeZoneRefresher(Profile* profile); |
217 | 217 |
218 // Adds user to the list of the users who should be reported. | 218 // Adds user to the list of the users who should be reported. |
219 void AddReportingUser(const AccountId& account_id); | 219 void AddReportingUser(const AccountId& account_id); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 scoped_ptr<BootstrapManager> bootstrap_manager_; | 261 scoped_ptr<BootstrapManager> bootstrap_manager_; |
262 | 262 |
263 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; | 263 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; |
264 | 264 |
265 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); | 265 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); |
266 }; | 266 }; |
267 | 267 |
268 } // namespace chromeos | 268 } // namespace chromeos |
269 | 269 |
270 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 270 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
OLD | NEW |