| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 194 |
| 195 // Triggers a plethora of diagnostic modes. | 195 // Triggers a plethora of diagnostic modes. |
| 196 const char kDiagnostics[] = "diagnostics"; | 196 const char kDiagnostics[] = "diagnostics"; |
| 197 | 197 |
| 198 // Sets the output format for diagnostic modes enabled by diagnostics flag. | 198 // Sets the output format for diagnostic modes enabled by diagnostics flag. |
| 199 const char kDiagnosticsFormat[] = "diagnostics-format"; | 199 const char kDiagnosticsFormat[] = "diagnostics-format"; |
| 200 | 200 |
| 201 // Tells the diagnostics mode to do the requested recovery step(s). | 201 // Tells the diagnostics mode to do the requested recovery step(s). |
| 202 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; | 202 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; |
| 203 | 203 |
| 204 // Disables the experimental Answers in Suggest feature. | |
| 205 const char kDisableAnswersInSuggest[] = "disable-answers-in-suggest"; | |
| 206 | |
| 207 // Disables the experimental asynchronous DNS client. | 204 // Disables the experimental asynchronous DNS client. |
| 208 const char kDisableAsyncDns[] = "disable-async-dns"; | 205 const char kDisableAsyncDns[] = "disable-async-dns"; |
| 209 | 206 |
| 210 // Disables CNAME lookup of the host when generating the Kerberos SPN for a | 207 // Disables CNAME lookup of the host when generating the Kerberos SPN for a |
| 211 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more | 208 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more |
| 212 // background. | 209 // background. |
| 213 const char kDisableAuthNegotiateCnameLookup[] = | 210 const char kDisableAuthNegotiateCnameLookup[] = |
| 214 "disable-auth-negotiate-cname-lookup"; | 211 "disable-auth-negotiate-cname-lookup"; |
| 215 | 212 |
| 216 // Disable several subsystems which run network requests in the background. | 213 // Disable several subsystems which run network requests in the background. |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 // Disables prefetching of DNS information. | 388 // Disables prefetching of DNS information. |
| 392 const char kDnsPrefetchDisable[] = "dns-prefetch-disable"; | 389 const char kDnsPrefetchDisable[] = "dns-prefetch-disable"; |
| 393 | 390 |
| 394 // Requests that a running browser process dump its collected histograms to a | 391 // Requests that a running browser process dump its collected histograms to a |
| 395 // given file. The file is overwritten if it exists. | 392 // given file. The file is overwritten if it exists. |
| 396 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; | 393 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; |
| 397 | 394 |
| 398 // Overrides the path of Easy Unlock component app. | 395 // Overrides the path of Easy Unlock component app. |
| 399 extern const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; | 396 extern const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; |
| 400 | 397 |
| 401 // Enables the experimental Answers in Suggest feature. | |
| 402 const char kEnableAnswersInSuggest[] = "enable-answers-in-suggest"; | |
| 403 | |
| 404 // If set, the app list will be enabled as if enabled from CWS. | 398 // If set, the app list will be enabled as if enabled from CWS. |
| 405 const char kEnableAppList[] = "enable-app-list"; | 399 const char kEnableAppList[] = "enable-app-list"; |
| 406 | 400 |
| 407 // Enables the <appview> tag in platform apps. | 401 // Enables the <appview> tag in platform apps. |
| 408 const char kEnableAppView[] = "enable-app-view"; | 402 const char kEnableAppView[] = "enable-app-view"; |
| 409 | 403 |
| 410 // Enables the <window-controls> tag in platform apps. | 404 // Enables the <window-controls> tag in platform apps. |
| 411 const char kEnableAppWindowControls[] = "enable-app-window-controls"; | 405 const char kEnableAppWindowControls[] = "enable-app-window-controls"; |
| 412 | 406 |
| 413 // Enable OS integration for Chrome app file associations. | 407 // Enable OS integration for Chrome app file associations. |
| (...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1379 | 1373 |
| 1380 // ----------------------------------------------------------------------------- | 1374 // ----------------------------------------------------------------------------- |
| 1381 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1375 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1382 // | 1376 // |
| 1383 // You were going to just dump your switches here, weren't you? Instead, please | 1377 // You were going to just dump your switches here, weren't you? Instead, please |
| 1384 // put them in alphabetical order above, or in order inside the appropriate | 1378 // put them in alphabetical order above, or in order inside the appropriate |
| 1385 // ifdef at the bottom. The order should match the header. | 1379 // ifdef at the bottom. The order should match the header. |
| 1386 // ----------------------------------------------------------------------------- | 1380 // ----------------------------------------------------------------------------- |
| 1387 | 1381 |
| 1388 } // namespace switches | 1382 } // namespace switches |
| OLD | NEW |