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

Unified Diff: chrome/browser/host_content_settings_map.h

Issue 556095: Changes to support new cookie policy.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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
« no previous file with comments | « chrome/browser/gtk/options/advanced_contents_gtk.cc ('k') | chrome/browser/host_content_settings_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/host_content_settings_map.h
===================================================================
--- chrome/browser/host_content_settings_map.h (revision 37613)
+++ chrome/browser/host_content_settings_map.h (working copy)
@@ -69,6 +69,9 @@
ContentSettingsType content_type,
ContentSetting setting);
+ // This setting trumps any host-specific settings.
+ bool BlockThirdPartyCookies() const { return block_third_party_cookies_; }
+
// Resets all settings levels.
//
// This should only be called on the UI thread.
@@ -95,6 +98,9 @@
ContentSettings default_content_settings_;
HostContentSettings host_content_settings_;
+ // Misc global settings.
+ bool block_third_party_cookies_;
+
// Used around accesses to the settings objects to guarantee thread safety.
mutable Lock lock_;
« no previous file with comments | « chrome/browser/gtk/options/advanced_contents_gtk.cc ('k') | chrome/browser/host_content_settings_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698