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

Unified Diff: chrome/browser/gtk/options/content_filter_page_gtk.cc

Issue 5574001: Move ContentSettingsDetails and Pattern out of HostContentSettingsMap as separate classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/content_settings
Patch Set: updates Created 10 years 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/gtk/options/content_filter_page_gtk.cc
diff --git a/chrome/browser/gtk/options/content_filter_page_gtk.cc b/chrome/browser/gtk/options/content_filter_page_gtk.cc
index 21387a591a77e43c26820e44ee084735edb7c111..d9b06a9eb936cf3d15a8f651776c096c699c2d26 100644
--- a/chrome/browser/gtk/options/content_filter_page_gtk.cc
+++ b/chrome/browser/gtk/options/content_filter_page_gtk.cc
@@ -6,6 +6,7 @@
#include "app/l10n_util.h"
#include "base/command_line.h"
+#include "chrome/browser/content_settings/content_settings_details.h"
#include "chrome/browser/geolocation/geolocation_content_settings_map.h"
#include "chrome/browser/geolocation/geolocation_exceptions_table_model.h"
#include "chrome/browser/plugin_exceptions_table_model.h"
@@ -278,14 +279,14 @@ void ContentFilterPageGtk::Observe(NotificationType type,
if (type == NotificationType::CONTENT_SETTINGS_CHANGED) {
NotifyContentSettingsChanged(
- Details<HostContentSettingsMap::ContentSettingsDetails>(details).ptr());
+ Details<const ContentSettingsDetails>(details).ptr());
} else {
OptionsPageBase::Observe(type, source, details);
}
}
void ContentFilterPageGtk::NotifyContentSettingsChanged(
- const HostContentSettingsMap::ContentSettingsDetails *details) {
+ const ContentSettingsDetails *details) {
if (details->type() == CONTENT_SETTINGS_TYPE_DEFAULT ||
details->type() == content_type_) {
ignore_toggle_ = true;

Powered by Google App Engine
This is Rietveld 408576698