Index: chrome/browser/ui/webui/options2/content_settings_handler2.h |
diff --git a/chrome/browser/ui/webui/options2/content_settings_handler2.h b/chrome/browser/ui/webui/options2/content_settings_handler2.h |
index c08fc40133e698e83ad6a64d3db0dca37c3b91a1..9c58b03984c9e63659a0ec34ee0228d6fbcf6cc6 100644 |
--- a/chrome/browser/ui/webui/options2/content_settings_handler2.h |
+++ b/chrome/browser/ui/webui/options2/content_settings_handler2.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/prefs/pref_change_registrar.h" |
#include "chrome/browser/ui/webui/options2/options_ui2.h" |
#include "chrome/common/content_settings_types.h" |
+#include "chrome/common/content_settings.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
@@ -89,6 +90,10 @@ class ContentSettingsHandler : public OptionsPageUIHandler { |
// Utility functions --------------------------------------------------------- |
+ // Applies content settings whitelists to reduce breakage / user confusion. |
+ void ApplyWhitelist(ContentSettingsType content_type, |
+ ContentSetting default_setting); |
+ |
// Gets the HostContentSettingsMap for the normal profile. |
HostContentSettingsMap* GetContentSettingsMap(); |