| 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..139256322ea0131d84a7dc9c1214111f8b58cf75 100644
|
| --- a/chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| +++ b/chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| @@ -10,13 +10,14 @@
|
|
|
| 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();
|
|
|
| @@ -26,6 +27,9 @@ class SubresourceFilterProfileContextFactory
|
| KeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const override;
|
|
|
| + content::BrowserContext* GetBrowserContextToUse(
|
| + content::BrowserContext* context) const override;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SubresourceFilterProfileContextFactory);
|
| };
|
|
|
|
|