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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
191 | 191 |
192 // Lazily creates default user flow. | 192 // Lazily creates default user flow. |
193 UserFlow* GetDefaultUserFlow() const; | 193 UserFlow* GetDefaultUserFlow() const; |
194 | 194 |
195 // MultiProfileUserControllerDelegate implementation: | 195 // MultiProfileUserControllerDelegate implementation: |
196 virtual void OnUserNotAllowed(const std::string& user_email) override; | 196 virtual void OnUserNotAllowed(const std::string& user_email) override; |
197 | 197 |
198 // Update the number of users. | 198 // Update the number of users. |
199 void UpdateNumberOfUsers(); | 199 void UpdateNumberOfUsers(); |
200 | 200 |
201 // Starts (or stops) automatic timezone refresh on geolocation, | |
202 // depending on user preferences. | |
203 void StartUserTimeZoneRefresh(Profile* profile); | |
Dmitry Polukhin
2015/01/20 15:32:28
Please rename to something more consistent. IMHO,
Alexander Alekseev
2015/01/22 18:55:22
Done.
| |
204 | |
201 // Interface to the signed settings store. | 205 // Interface to the signed settings store. |
202 CrosSettings* cros_settings_; | 206 CrosSettings* cros_settings_; |
203 | 207 |
204 // Interface to device-local account definitions and associated policy. | 208 // Interface to device-local account definitions and associated policy. |
205 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; | 209 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; |
206 | 210 |
207 content::NotificationRegistrar registrar_; | 211 content::NotificationRegistrar registrar_; |
208 | 212 |
209 // User avatar managers. | 213 // User avatar managers. |
210 UserImageManagerMap user_image_managers_; | 214 UserImageManagerMap user_image_managers_; |
(...skipping 25 matching lines...) Expand all Loading... | |
236 wallpaper_policy_observer_; | 240 wallpaper_policy_observer_; |
237 | 241 |
238 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; | 242 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; |
239 | 243 |
240 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); | 244 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); |
241 }; | 245 }; |
242 | 246 |
243 } // namespace chromeos | 247 } // namespace chromeos |
244 | 248 |
245 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 249 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
OLD | NEW |