OLD | NEW |
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 // Value of GAIA auth code for --force-app-mode. | 94 // Value of GAIA auth code for --force-app-mode. |
95 const char kAppModeAuthCode[] = "app-mode-auth-code"; | 95 const char kAppModeAuthCode[] = "app-mode-auth-code"; |
96 | 96 |
97 // Value of OAuth2 refresh token for --force-app-mode. | 97 // Value of OAuth2 refresh token for --force-app-mode. |
98 const char kAppModeOAuth2Token[] = "app-mode-oauth-token"; | 98 const char kAppModeOAuth2Token[] = "app-mode-oauth-token"; |
99 | 99 |
100 // Enables overriding the path for the default authentication extension. | 100 // Enables overriding the path for the default authentication extension. |
101 const char kAuthExtensionPath[] = "auth-ext-path"; | 101 const char kAuthExtensionPath[] = "auth-ext-path"; |
102 | 102 |
103 // Whitelist of servers that Negotiate will generate delegated Kerberos tickets | |
104 // for. | |
105 const char kAuthNegotiateDelegateWhitelist[] = | |
106 "auth-negotiate-delegate-whitelist"; | |
107 | |
108 // HTTP authentication schemes to enable. This is a comma-separated list of | |
109 // authentication schemes (basic, digest, ntlm, and negotiate). By default all | |
110 // schemes are enabled. The primary use of this command line flag is to help | |
111 // triage authentication-related issues reported by end-users. | |
112 const char kAuthSchemes[] = "auth-schemes"; | |
113 | |
114 // Whitelist of servers which NTLM and Negotiate can automatically authenticate | |
115 // with using the default credentials of the currently logged in user. | |
116 const char kAuthServerWhitelist[] = "auth-server-whitelist"; | |
117 | |
118 // A flag that is used to tell Chrome that it was launched automatically at | 103 // A flag that is used to tell Chrome that it was launched automatically at |
119 // computer startup and not by some user action. | 104 // computer startup and not by some user action. |
120 const char kAutoLaunchAtStartup[] = "auto-launch-at-startup"; | 105 const char kAutoLaunchAtStartup[] = "auto-launch-at-startup"; |
121 | 106 |
122 // This flag makes Chrome auto-select the provided choice when an extension asks | 107 // This flag makes Chrome auto-select the provided choice when an extension asks |
123 // permission to start desktop capture. Should only be used for tests. For | 108 // permission to start desktop capture. Should only be used for tests. For |
124 // instance, --auto-select-desktop-capture-source="Entire screen" will | 109 // instance, --auto-select-desktop-capture-source="Entire screen" will |
125 // automatically select to share the entire screen in English locales. | 110 // automatically select to share the entire screen in English locales. |
126 const char kAutoSelectDesktopCaptureSource[] = | 111 const char kAutoSelectDesktopCaptureSource[] = |
127 "auto-select-desktop-capture-source"; | 112 "auto-select-desktop-capture-source"; |
(...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1426 | 1411 |
1427 // ----------------------------------------------------------------------------- | 1412 // ----------------------------------------------------------------------------- |
1428 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1413 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1429 // | 1414 // |
1430 // You were going to just dump your switches here, weren't you? Instead, please | 1415 // You were going to just dump your switches here, weren't you? Instead, please |
1431 // put them in alphabetical order above, or in order inside the appropriate | 1416 // put them in alphabetical order above, or in order inside the appropriate |
1432 // ifdef at the bottom. The order should match the header. | 1417 // ifdef at the bottom. The order should match the header. |
1433 // ----------------------------------------------------------------------------- | 1418 // ----------------------------------------------------------------------------- |
1434 | 1419 |
1435 } // namespace switches | 1420 } // namespace switches |
OLD | NEW |