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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.h

Issue 6253012: Add ContentSettingsProvider Interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits and rename ContentSettingsProviderInterface to ProviderInterface Created 9 years, 11 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/content_settings/host_content_settings_map.h
diff --git a/chrome/browser/content_settings/host_content_settings_map.h b/chrome/browser/content_settings/host_content_settings_map.h
index e43309fb8002d5e7f63dd17f2bc7ee9933553318..407293e48ab3f3c1e8f1bf8bb748720651277927 100644
--- a/chrome/browser/content_settings/host_content_settings_map.h
+++ b/chrome/browser/content_settings/host_content_settings_map.h
@@ -25,8 +25,13 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
+namespace content_settings {
+
+class DefaultContentSettingsProviderInterface;
+
+} // namespace content_settings
+
class ContentSettingsDetails;
-class DefaultContentSettingsProvider;
class DictionaryValue;
class GURL;
class PrefService;
@@ -229,8 +234,9 @@ class HostContentSettingsMap
bool updating_preferences_;
// Content setting providers.
- std::vector<linked_ptr<DefaultContentSettingsProvider> >
- default_content_settings_providers_;
+ std::vector
+ <linked_ptr<content_settings::DefaultContentSettingsProviderInterface> >
+ default_content_settings_providers_;
// Used around accesses to the following objects to guarantee thread safety.
mutable base::Lock lock_;

Powered by Google App Engine
This is Rietveld 408576698