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

Unified Diff: chrome/browser/net/chrome_cookie_policy.h

Issue 6207005: Clarify wording around blocking 3rd party cookies and add lab to block reading of 3rd party cookies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
Index: chrome/browser/net/chrome_cookie_policy.h
diff --git a/chrome/browser/net/chrome_cookie_policy.h b/chrome/browser/net/chrome_cookie_policy.h
index ea63e6bdae6debdb95a6c50199fb5a0c007d3945..0e53d651974763184b72f27f6ff2ed2cd0b81dc3 100644
--- a/chrome/browser/net/chrome_cookie_policy.h
+++ b/chrome/browser/net/chrome_cookie_policy.h
@@ -28,7 +28,7 @@ class ChromeCookiePolicy
public net::CookiePolicy {
public:
explicit ChromeCookiePolicy(HostContentSettingsMap* map);
- ~ChromeCookiePolicy();
+ virtual ~ChromeCookiePolicy();
// CookiePolicy methods:
virtual int CanGetCookies(const GURL& url, const GURL& first_party,
@@ -70,6 +70,11 @@ class ChromeCookiePolicy
HostCompletionsMap host_completions_map_;
scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
+
+ // True if blocking third-party cookies also applies to reading them.
+ bool strict_third_party_blocking_;
+
+ DISALLOW_COPY_AND_ASSIGN(ChromeCookiePolicy);
};
#endif // CHROME_BROWSER_NET_CHROME_COOKIE_POLICY_H_

Powered by Google App Engine
This is Rietveld 408576698