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

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

Issue 378273003: Add command-line flag for tests to bypass the screenshare window picker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using PostTask and weak pointers instead Created 6 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 const char kAuthSchemes[] = "auth-schemes"; 108 const char kAuthSchemes[] = "auth-schemes";
109 109
110 // Whitelist of servers which NTLM and Negotiate can automatically authenticate 110 // Whitelist of servers which NTLM and Negotiate can automatically authenticate
111 // with using the default credentials of the currently logged in user. 111 // with using the default credentials of the currently logged in user.
112 const char kAuthServerWhitelist[] = "auth-server-whitelist"; 112 const char kAuthServerWhitelist[] = "auth-server-whitelist";
113 113
114 // A flag that is used to tell Chrome that it was launched automatically at 114 // A flag that is used to tell Chrome that it was launched automatically at
115 // computer startup and not by some user action. 115 // computer startup and not by some user action.
116 const char kAutoLaunchAtStartup[] = "auto-launch-at-startup"; 116 const char kAutoLaunchAtStartup[] = "auto-launch-at-startup";
117 117
118 // This flag makes Chrome auto-select the provided choice when an extension asks
119 // permission to start desktop capture. Should only be used for tests. For
120 // instance, --auto-select-desktop-capture-source="Entire screen" will
121 // automatically select to share the entire screen in English locales.
122 const char kAutoSelectDesktopCaptureSource[] =
123 "auto-select-desktop-capture-source";
124
118 // Certificate Transparency: Uses the provided log(s) for checking Signed 125 // Certificate Transparency: Uses the provided log(s) for checking Signed
119 // Certificate Timestamps provided with certificates. 126 // Certificate Timestamps provided with certificates.
120 // The switch's value is: 127 // The switch's value is:
121 // log_description:log_key,log_description:log_key,... 128 // log_description:log_key,log_description:log_key,...
122 // where 129 // where
123 // log_description is a textual description of the log. 130 // log_description is a textual description of the log.
124 // log_key is a Base64'd DER-encoded SubjectPublicKeyInfo of the log's 131 // log_key is a Base64'd DER-encoded SubjectPublicKeyInfo of the log's
125 // public key. 132 // public key.
126 // Multiple logs can be specified by repeating description:key pairs, 133 // Multiple logs can be specified by repeating description:key pairs,
127 // separated by a comma. 134 // separated by a comma.
(...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 1387
1381 // ----------------------------------------------------------------------------- 1388 // -----------------------------------------------------------------------------
1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1389 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1383 // 1390 //
1384 // You were going to just dump your switches here, weren't you? Instead, please 1391 // You were going to just dump your switches here, weren't you? Instead, please
1385 // put them in alphabetical order above, or in order inside the appropriate 1392 // put them in alphabetical order above, or in order inside the appropriate
1386 // ifdef at the bottom. The order should match the header. 1393 // ifdef at the bottom. The order should match the header.
1387 // ----------------------------------------------------------------------------- 1394 // -----------------------------------------------------------------------------
1388 1395
1389 } // namespace switches 1396 } // namespace switches
OLDNEW
« chrome/browser/ui/views/desktop_media_picker_views.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698