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

Unified Diff: net/base/static_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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/base/static_cookie_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/static_cookie_policy.h
diff --git a/net/base/static_cookie_policy.h b/net/base/static_cookie_policy.h
index 46331617f42363f25fd33677976aa0172d06939a..39484761d3d81a82b05d7871598836ef6cf2f740 100644
--- a/net/base/static_cookie_policy.h
+++ b/net/base/static_cookie_policy.h
@@ -23,10 +23,17 @@ namespace net {
//
class StaticCookiePolicy : public CookiePolicy {
public:
+ // Do not change the order of these types as they are persisted in
+ // preferences.
enum Type {
- ALLOW_ALL_COOKIES = 0, // Do not perform any cookie blocking.
- BLOCK_THIRD_PARTY_COOKIES, // Prevent third-party cookies from being set.
- BLOCK_ALL_COOKIES // Disable cookies.
+ // Do not perform any cookie blocking.
+ ALLOW_ALL_COOKIES = 0,
+ // Prevent third-party cookies from being set.
+ BLOCK_SETTING_THIRD_PARTY_COOKIES,
+ // Disable cookies.
+ BLOCK_ALL_COOKIES,
+ // Prevent third-party cookies from being set or read.
+ BLOCK_ALL_THIRD_PARTY_COOKIES
Randy Smith (Not in Mondays) 2011/01/11 18:38:42 This section seems a bit awkward to me; the combin
};
StaticCookiePolicy()
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/base/static_cookie_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698