| 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 d9fdafc09ac84d0d7d5847fe7fb4c4d0c8074f54..45dd16e1e95e2d02c3d0664ee8f6cfa21d04f785 100644
|
| --- a/chrome/browser/profiles/gaia_info_update_service.h
|
| +++ b/chrome/browser/profiles/gaia_info_update_service.h
|
| @@ -12,6 +12,7 @@
|
| #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 PrefServiceSyncable;
|
| class Profile;
|
| @@ -19,7 +20,8 @@ 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();
|
| @@ -30,9 +32,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(PrefServiceSyncable* prefs);
|
| -
|
| // ProfileDownloaderDelegate:
|
| virtual bool NeedsProfilePicture() const OVERRIDE;
|
| virtual int GetDesiredImageSideLength() const OVERRIDE;
|
|
|