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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 // Triggers a plethora of diagnostic modes. | 200 // Triggers a plethora of diagnostic modes. |
201 const char kDiagnostics[] = "diagnostics"; | 201 const char kDiagnostics[] = "diagnostics"; |
202 | 202 |
203 // Sets the output format for diagnostic modes enabled by diagnostics flag. | 203 // Sets the output format for diagnostic modes enabled by diagnostics flag. |
204 const char kDiagnosticsFormat[] = "diagnostics-format"; | 204 const char kDiagnosticsFormat[] = "diagnostics-format"; |
205 | 205 |
206 // Tells the diagnostics mode to do the requested recovery step(s). | 206 // Tells the diagnostics mode to do the requested recovery step(s). |
207 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; | 207 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; |
208 | 208 |
| 209 // Disables the experimental Answers in Suggest feature. |
| 210 const char kDisableAnswersInSuggest[] = "disable-answers-in-suggest"; |
| 211 |
209 // Disables the experimental asynchronous DNS client. | 212 // Disables the experimental asynchronous DNS client. |
210 const char kDisableAsyncDns[] = "disable-async-dns"; | 213 const char kDisableAsyncDns[] = "disable-async-dns"; |
211 | 214 |
212 // Disables CNAME lookup of the host when generating the Kerberos SPN for a | 215 // Disables CNAME lookup of the host when generating the Kerberos SPN for a |
213 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more | 216 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more |
214 // background. | 217 // background. |
215 const char kDisableAuthNegotiateCnameLookup[] = | 218 const char kDisableAuthNegotiateCnameLookup[] = |
216 "disable-auth-negotiate-cname-lookup"; | 219 "disable-auth-negotiate-cname-lookup"; |
217 | 220 |
218 // Disable several subsystems which run network requests in the background. | 221 // Disable several subsystems which run network requests in the background. |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; | 416 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; |
414 | 417 |
415 // Overrides the path of Easy Unlock component app. | 418 // Overrides the path of Easy Unlock component app. |
416 extern const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; | 419 extern const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; |
417 | 420 |
418 // Enables the notifications for the custodian of a supervised user when the | 421 // Enables the notifications for the custodian of a supervised user when the |
419 // supervised user sends an access request. | 422 // supervised user sends an access request. |
420 extern const char kEnableAccessRequestNotifications[] = | 423 extern const char kEnableAccessRequestNotifications[] = |
421 "enable-access-request-notifications"; | 424 "enable-access-request-notifications"; |
422 | 425 |
423 // Enable Answers in Suggest. | 426 // Enables the experimental Answers in Suggest feature. |
424 const char kEnableAnswersInSuggest[] = "enable-answers-in-suggest"; | 427 const char kEnableAnswersInSuggest[] = "enable-answers-in-suggest"; |
425 | 428 |
426 // If set, the app list will be enabled as if enabled from CWS. | 429 // If set, the app list will be enabled as if enabled from CWS. |
427 const char kEnableAppList[] = "enable-app-list"; | 430 const char kEnableAppList[] = "enable-app-list"; |
428 | 431 |
429 // Enables the <window-controls> tag in platform apps. | 432 // Enables the <window-controls> tag in platform apps. |
430 const char kEnableAppWindowControls[] = "enable-app-window-controls"; | 433 const char kEnableAppWindowControls[] = "enable-app-window-controls"; |
431 | 434 |
432 // Enable OS integration for Chrome app file associations. | 435 // Enable OS integration for Chrome app file associations. |
433 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; | 436 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; |
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1406 | 1409 |
1407 // ----------------------------------------------------------------------------- | 1410 // ----------------------------------------------------------------------------- |
1408 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1411 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1409 // | 1412 // |
1410 // You were going to just dump your switches here, weren't you? Instead, please | 1413 // You were going to just dump your switches here, weren't you? Instead, please |
1411 // put them in alphabetical order above, or in order inside the appropriate | 1414 // put them in alphabetical order above, or in order inside the appropriate |
1412 // ifdef at the bottom. The order should match the header. | 1415 // ifdef at the bottom. The order should match the header. |
1413 // ----------------------------------------------------------------------------- | 1416 // ----------------------------------------------------------------------------- |
1414 | 1417 |
1415 } // namespace switches | 1418 } // namespace switches |
OLD | NEW |