From 4c6452d27812f765c27aefb673eee90a17edbb82 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Wed, 12 Jan 2011 08:47:57 +0000 Subject: 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 --- chrome/common/chrome_switches.cc | 5 +++++ chrome/common/chrome_switches.h | 1 + 2 files changed, 6 insertions(+) (limited to 'chrome/common') 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[]; -- cgit v1.1