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

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

Issue 7713034: HostContentSettingsMap refactoring. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Code review comments. Created 9 years, 4 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 f183936611286ce6a641ea6d31a3d552d1a6f757..f47f6043fe92aa54e0edec6bbf4f6df0ce88bc72 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;
@@ -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.
std::string GetSettingDefaultFromModel(ContentSettingsType type);

Powered by Google App Engine
This is Rietveld 408576698