Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4125)

Unified Diff: chrome/browser/subresource_filter/subresource_filter_profile_context_factory.h

Issue 2829313002: Add SubresourceFilterProfileContext for all profile scoped context (Closed)
Patch Set: engedy review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698