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 d7573717b634f1152f6d11a02b009e26a27c3efc..03d5315e3a6dcce9c0586ec6394b96c6123ccc01 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/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
+class CookieSettings; |
class HostContentSettingsMap; |
class ProtocolHandlerRegistry; |
@@ -94,6 +95,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. If |provider_id| is not NULL, the |
// id of the provider which provided the default setting is assigned to it. |
std::string GetSettingDefaultFromModel(ContentSettingsType type, |