diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-12 08:47:57 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-12 08:47:57 +0000 |
commit | 4c6452d27812f765c27aefb673eee90a17edbb82 (patch) | |
tree | 3e61dc8e740278a4b2a140102b4895203508b846 /chrome/common | |
parent | 6340f49d48a13c600319fc60f774f5ad6e3103e8 (diff) | |
download | chromium_src-4c6452d27812f765c27aefb673eee90a17edbb82.zip chromium_src-4c6452d27812f765c27aefb673eee90a17edbb82.tar.gz chromium_src-4c6452d27812f765c27aefb673eee90a17edbb82.tar.bz2 |
Clarify wording around blocking 3rd party cookies and add lab to block reading of 3rd party cookies
BUG=69066
TEST=net_unittests
Review URL: http://codereview.chromium.org/6207005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 5 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index fa39677..ec029c6 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -87,6 +87,11 @@ const char kAuthServerWhitelist[] = "auth-server-whitelist"; // automation-related messages on IPC channel with the given ID. const char kAutomationClientChannelID[] = "automation-channel"; +// When the option to block third-party cookies from being set is enabled, +// also block third-party cookies from being read. +const char kBlockReadingThirdPartyCookies[] = + "block-reading-third-party-cookies"; + // Causes the browser process to throw an assertion on startup. const char kBrowserAssertTest[] = "assert-test"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 1e92060..71274ae 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -38,6 +38,7 @@ extern const char kAuthNegotiateDelegateWhitelist[]; extern const char kAuthSchemes[]; extern const char kAuthServerWhitelist[]; extern const char kAutomationClientChannelID[]; +extern const char kBlockReadingThirdPartyCookies[]; extern const char kBrowserAssertTest[]; extern const char kBrowserCrashTest[]; extern const char kBrowserSubprocessPath[]; |