| Index: chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| diff --git a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.h b/chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| similarity index 55%
|
| rename from chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.h
|
| rename to chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| index ead85d0775ae3f62f6f54b5b40de51217298214e..292259c0b2bad4d3dd4f8c8ce7625071b126ab54 100644
|
| --- a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.h
|
| +++ b/chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_CONTENT_SETTINGS_MANAGER_FACTORY_H_
|
| -#define CHROME_BROWSER_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_CONTENT_SETTINGS_MANAGER_FACTORY_H_
|
| +#ifndef CHROME_BROWSER_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_PROFILE_CONTEXT_FACTORY_H_
|
| +#define CHROME_BROWSER_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_PROFILE_CONTEXT_FACTORY_H_
|
|
|
| #include "base/macros.h"
|
| #include "components/keyed_service/content/browser_context_keyed_service_factory.h"
|
| @@ -11,22 +11,22 @@
|
| class KeyedService;
|
| class Profile;
|
|
|
| -// This class is responsible for instantiating a profile-scoped object which
|
| -// observes changes to content settings.
|
| -class SubresourceFilterContentSettingsManagerFactory
|
| +// This class is responsible for instantiating a profile-scoped context for
|
| +// subresource filtering.
|
| +class SubresourceFilterProfileContextFactory
|
| : public BrowserContextKeyedServiceFactory {
|
| public:
|
| static void EnsureForProfile(Profile* profile);
|
|
|
| - static SubresourceFilterContentSettingsManagerFactory* GetInstance();
|
| + static SubresourceFilterProfileContextFactory* GetInstance();
|
|
|
| - SubresourceFilterContentSettingsManagerFactory();
|
| + SubresourceFilterProfileContextFactory();
|
|
|
| private:
|
| KeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const override;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(SubresourceFilterContentSettingsManagerFactory);
|
| + DISALLOW_COPY_AND_ASSIGN(SubresourceFilterProfileContextFactory);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_CONTENT_SETTINGS_MANAGER_FACTORY_H_
|
| +#endif // CHROME_BROWSER_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_PROFILE_CONTEXT_FACTORY_H_
|
|
|