| Index: chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| diff --git a/chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h b/chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| index 292259c0b2bad4d3dd4f8c8ce7625071b126ab54..eefb50ac2f6cb76ef7b49d33ec7bfd22c8497a27 100644
|
| --- a/chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| +++ b/chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| @@ -10,21 +10,25 @@
|
|
|
| class KeyedService;
|
| class Profile;
|
| +class SubresourceFilterProfileContext;
|
|
|
| // This class is responsible for instantiating a profile-scoped context for
|
| // subresource filtering.
|
| class SubresourceFilterProfileContextFactory
|
| : public BrowserContextKeyedServiceFactory {
|
| public:
|
| - static void EnsureForProfile(Profile* profile);
|
| + static SubresourceFilterProfileContext* GetForProfile(Profile* profile);
|
|
|
| static SubresourceFilterProfileContextFactory* GetInstance();
|
|
|
| SubresourceFilterProfileContextFactory();
|
|
|
| private:
|
| + // BrowserContextKeyedServiceFactory:
|
| KeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const override;
|
| + content::BrowserContext* GetBrowserContextToUse(
|
| + content::BrowserContext* context) const override;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SubresourceFilterProfileContextFactory);
|
| };
|
|
|