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

Side by Side Diff: chrome/common/chrome_switches.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const char kAuthSchemes[] = "auth-schemes"; 80 const char kAuthSchemes[] = "auth-schemes";
81 81
82 // Whitelist of servers which NTLM and Negotiate can automatically authenticate 82 // Whitelist of servers which NTLM and Negotiate can automatically authenticate
83 // with using the default credentials of the currently logged in user. 83 // with using the default credentials of the currently logged in user.
84 const char kAuthServerWhitelist[] = "auth-server-whitelist"; 84 const char kAuthServerWhitelist[] = "auth-server-whitelist";
85 85
86 // The value of this switch tells the app to listen for and broadcast 86 // The value of this switch tells the app to listen for and broadcast
87 // automation-related messages on IPC channel with the given ID. 87 // automation-related messages on IPC channel with the given ID.
88 const char kAutomationClientChannelID[] = "automation-channel"; 88 const char kAutomationClientChannelID[] = "automation-channel";
89 89
90 // When the option to block third-party cookies from being set is enabled,
91 // also block third-party cookies from being read.
92 const char kBlockReadingThirdPartyCookies[] =
93 "block-reading-third-party-cookies";
94
90 // Causes the browser process to throw an assertion on startup. 95 // Causes the browser process to throw an assertion on startup.
91 const char kBrowserAssertTest[] = "assert-test"; 96 const char kBrowserAssertTest[] = "assert-test";
92 97
93 // Causes the browser process to crash on startup. 98 // Causes the browser process to crash on startup.
94 const char kBrowserCrashTest[] = "crash-test"; 99 const char kBrowserCrashTest[] = "crash-test";
95 100
96 // Path to the exe to run for the renderer and plugin subprocesses. 101 // Path to the exe to run for the renderer and plugin subprocesses.
97 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 102 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
98 103
99 // How often (in seconds) to check for updates. Should only be used for 104 // How often (in seconds) to check for updates. Should only be used for
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 1377
1373 // ----------------------------------------------------------------------------- 1378 // -----------------------------------------------------------------------------
1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1375 // 1380 //
1376 // You were going to just dump your switches here, weren't you? Instead, 1381 // You were going to just dump your switches here, weren't you? Instead,
1377 // please put them in alphabetical order above, or in order inside the 1382 // please put them in alphabetical order above, or in order inside the
1378 // appropriate ifdef at the bottom. The order should match the header. 1383 // appropriate ifdef at the bottom. The order should match the header.
1379 // ----------------------------------------------------------------------------- 1384 // -----------------------------------------------------------------------------
1380 1385
1381 } // namespace switches 1386 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698