| Index: chrome/browser/thumbnails/thumbnail_service_factory.h
|
| diff --git a/chrome/browser/thumbnails/thumbnail_service_factory.h b/chrome/browser/thumbnails/thumbnail_service_factory.h
|
| index 655cfa68d9ff2dbbdc3fe76765941fac28d75aa5..23f529bfc751d6134c218fed486cdb034b8538b7 100644
|
| --- a/chrome/browser/thumbnails/thumbnail_service_factory.h
|
| +++ b/chrome/browser/thumbnails/thumbnail_service_factory.h
|
| @@ -15,14 +15,14 @@ namespace thumbnails {
|
| class ThumbnailService;
|
| }
|
|
|
| -class ThumbnailServiceFactory : public RefcountedProfileKeyedServiceFactory {
|
| +class ThumbnailServiceFactory : public RefcountedBrowserContextKeyedServiceFactory {
|
| public:
|
| // Returns an instance of ThumbnailService associated with this profile
|
| // (creating one if none exists). Returns NULL if this profile cannot have a
|
| // ThumbnailService (for example, if |profile| is incognito).
|
| // Depending on the settings, the implementation of the service interface
|
| // can be provided either by TopSites (stored in the profile itself) or
|
| - // be an instance of a real RefcountedProfileKeyedService implementation.
|
| + // be an instance of a real RefcountedBrowserContextKeyedService implementation.
|
| static scoped_refptr<thumbnails::ThumbnailService> GetForProfile(
|
| Profile* profile);
|
|
|
| @@ -34,8 +34,8 @@ class ThumbnailServiceFactory : public RefcountedProfileKeyedServiceFactory {
|
| ThumbnailServiceFactory();
|
| virtual ~ThumbnailServiceFactory();
|
|
|
| - // ProfileKeyedServiceFactory:
|
| - virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory:
|
| + virtual scoped_refptr<RefcountedBrowserContextKeyedService> BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ThumbnailServiceFactory);
|
|
|