Index: chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.h |
diff --git a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.h b/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.h |
index ead85d0775ae3f62f6f54b5b40de51217298214e..e4dcc67f45652a9dfed0db2edd1709ef592beeb8 100644 |
--- a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.h |
+++ b/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.h |
@@ -8,15 +8,18 @@ |
#include "base/macros.h" |
#include "components/keyed_service/content/browser_context_keyed_service_factory.h" |
+class BrowserContext; |
class KeyedService; |
class Profile; |
+class SubresourceFilterContentSettingsManager; |
// This class is responsible for instantiating a profile-scoped object which |
// observes changes to content settings. |
class SubresourceFilterContentSettingsManagerFactory |
: public BrowserContextKeyedServiceFactory { |
public: |
- static void EnsureForProfile(Profile* profile); |
+ static SubresourceFilterContentSettingsManager* EnsureForProfile( |
+ Profile* profile); |
static SubresourceFilterContentSettingsManagerFactory* GetInstance(); |
@@ -26,6 +29,9 @@ class SubresourceFilterContentSettingsManagerFactory |
KeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const override; |
+ content::BrowserContext* GetBrowserContextToUse( |
+ content::BrowserContext* context) const override; |
+ |
DISALLOW_COPY_AND_ASSIGN(SubresourceFilterContentSettingsManagerFactory); |
}; |