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

Unified Diff: chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.h
diff --git a/chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.h b/chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.h
index 8a0875f93f6ec2e06ab9fa181f3a8ce8715f0094..5b42bccf5b5ec3335aa86c4ed24e06e0c1cfedb3 100644
--- a/chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.h
+++ b/chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.h
@@ -199,11 +199,11 @@ class UserImageManagerImpl
// Timer used to start a profile data download shortly after login and to
// restart the download after network errors.
- base::OneShotTimer<UserImageManagerImpl> profile_download_one_shot_timer_;
+ base::OneShotTimer profile_download_one_shot_timer_;
// Timer used to periodically start a profile data, ensuring the profile data
// stays up to date.
- base::RepeatingTimer<UserImageManagerImpl> profile_download_periodic_timer_;
+ base::RepeatingTimer profile_download_periodic_timer_;
// Sync observer for the currently logged-in user.
scoped_ptr<UserImageSyncObserver> user_image_sync_observer_;

Powered by Google App Engine
This is Rietveld 408576698