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

Side by Side Diff: chrome/browser/profiles/gaia_info_update_service.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, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_
6 #define CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ 6 #define CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Overridden from SigninManagerBase::Observer: 55 // Overridden from SigninManagerBase::Observer:
56 void GoogleSigninSucceeded(const std::string& account_id, 56 void GoogleSigninSucceeded(const std::string& account_id,
57 const std::string& username, 57 const std::string& username,
58 const std::string& password) override; 58 const std::string& password) override;
59 void GoogleSignedOut(const std::string& account_id, 59 void GoogleSignedOut(const std::string& account_id,
60 const std::string& username) override; 60 const std::string& username) override;
61 61
62 Profile* profile_; 62 Profile* profile_;
63 scoped_ptr<ProfileDownloader> profile_image_downloader_; 63 scoped_ptr<ProfileDownloader> profile_image_downloader_;
64 base::Time last_updated_; 64 base::Time last_updated_;
65 base::OneShotTimer<GAIAInfoUpdateService> timer_; 65 base::OneShotTimer timer_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(GAIAInfoUpdateService); 67 DISALLOW_COPY_AND_ASSIGN(GAIAInfoUpdateService);
68 }; 68 };
69 69
70 #endif // CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ 70 #endif // CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profile_resetter/brandcode_config_fetcher.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698