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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.h

Issue 8383004: Adding CookieSettings for storing cookie content settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 9 years, 2 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/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,

Powered by Google App Engine
This is Rietveld 408576698