Index: chrome/browser/ui/webui/options/content_settings_handler.h |
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.h b/chrome/browser/ui/webui/options/content_settings_handler.h |
index f183936611286ce6a641ea6d31a3d552d1a6f757..441cce60585047e862082e0284040a7bf370da93 100644 |
--- a/chrome/browser/ui/webui/options/content_settings_handler.h |
+++ b/chrome/browser/ui/webui/options/content_settings_handler.h |
@@ -13,6 +13,7 @@ |
#include "content/common/notification_observer.h" |
#include "content/common/notification_registrar.h" |
+class CookieSettings; |
class HostContentSettingsMap; |
class ProtocolHandlerRegistry; |
@@ -56,6 +57,11 @@ class ContentSettingsHandler : public OptionsPageUIHandler { |
void UpdateGeolocationExceptionsView(); |
// Clobbers and rebuilds just the desktop notification exception table. |
void UpdateNotificationExceptionsView(); |
+ // Clobbers and rebuilds just the cookie exception table. |
+ void UpdateCookieExceptionsView(); |
+ // Helper for building the cookie exception table. |
+ void UpdateCookieExceptionsViewFromCookieSettings( |
+ CookieSettings* cookie_settings, const std::string& function_name); |
// Clobbers and rebuilds an exception table that's managed by the host content |
// settings map. |
void UpdateExceptionsViewFromHostContentSettingsMap(ContentSettingsType type); |
@@ -94,6 +100,13 @@ class ContentSettingsHandler : public OptionsPageUIHandler { |
// is no active incognito session. |
HostContentSettingsMap* GetOTRContentSettingsMap(); |
+ // Gets the CookieSettings for the normal profile. |
+ CookieSettings* GetCookieSettings(); |
+ |
+ // Gets the CookieSettings for the incognito profile, or NULL if there is no |
+ // active incognito session. |
+ CookieSettings* GetOTRCookieSettings(); |
+ |
// Gets the default setting in string form. |
std::string GetSettingDefaultFromModel(ContentSettingsType type); |