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

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

Issue 834073002: ChromeOS: Implement periodic timezone refresh on geolocation data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase. Created 5 years, 10 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_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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // Lazily creates default user flow. 188 // Lazily creates default user flow.
189 UserFlow* GetDefaultUserFlow() const; 189 UserFlow* GetDefaultUserFlow() const;
190 190
191 // MultiProfileUserControllerDelegate implementation: 191 // MultiProfileUserControllerDelegate implementation:
192 void OnUserNotAllowed(const std::string& user_email) override; 192 void OnUserNotAllowed(const std::string& user_email) override;
193 193
194 // Update the number of users. 194 // Update the number of users.
195 void UpdateNumberOfUsers(); 195 void UpdateNumberOfUsers();
196 196
197 // Starts (or stops) automatic timezone refresh on geolocation,
198 // depending on user preferences.
199 void UpdateUserTimeZoneRefresher(Profile* profile);
200
197 // Interface to the signed settings store. 201 // Interface to the signed settings store.
198 CrosSettings* cros_settings_; 202 CrosSettings* cros_settings_;
199 203
200 // Interface to device-local account definitions and associated policy. 204 // Interface to device-local account definitions and associated policy.
201 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; 205 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_;
202 206
203 content::NotificationRegistrar registrar_; 207 content::NotificationRegistrar registrar_;
204 208
205 // User avatar managers. 209 // User avatar managers.
206 UserImageManagerMap user_image_managers_; 210 UserImageManagerMap user_image_managers_;
(...skipping 25 matching lines...) Expand all
232 wallpaper_policy_observer_; 236 wallpaper_policy_observer_;
233 237
234 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; 238 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_;
235 239
236 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); 240 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl);
237 }; 241 };
238 242
239 } // namespace chromeos 243 } // namespace chromeos
240 244
241 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ 245 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698