| Index: chrome/browser/profiles/gaia_info_update_service.h
|
| diff --git a/chrome/browser/profiles/gaia_info_update_service.h b/chrome/browser/profiles/gaia_info_update_service.h
|
| index a51e865ea2f75116fd28344bc9edb01f286ff49d..cc7128e6fff6ba83b341ed956fcfc53574b6397f 100644
|
| --- a/chrome/browser/profiles/gaia_info_update_service.h
|
| +++ b/chrome/browser/profiles/gaia_info_update_service.h
|
| @@ -12,13 +12,15 @@
|
| #include "base/timer.h"
|
| #include "chrome/browser/profiles/profile_downloader.h"
|
| #include "chrome/browser/profiles/profile_downloader_delegate.h"
|
| +#include "chrome/browser/profiles/profile_keyed_service.h"
|
|
|
| class Profile;
|
| class ProfileDownloader;
|
|
|
| // This service kicks off a download of the user's name and profile picture.
|
| // The results are saved in the profile info cache.
|
| -class GAIAInfoUpdateService : public ProfileDownloaderDelegate {
|
| +class GAIAInfoUpdateService : public ProfileDownloaderDelegate,
|
| + public ProfileKeyedService {
|
| public:
|
| explicit GAIAInfoUpdateService(Profile* profile);
|
| virtual ~GAIAInfoUpdateService();
|
| @@ -29,9 +31,6 @@ class GAIAInfoUpdateService : public ProfileDownloaderDelegate {
|
| // Checks if downloading GAIA info for the given profile is allowed.
|
| static bool ShouldUseGAIAProfileInfo(Profile* profile);
|
|
|
| - // Register prefs for a profile.
|
| - static void RegisterUserPrefs(PrefServiceBase* prefs);
|
| -
|
| // ProfileDownloaderDelegate:
|
| virtual bool NeedsProfilePicture() const OVERRIDE;
|
| virtual int GetDesiredImageSideLength() const OVERRIDE;
|
|
|