| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 // This only has an effect if QUIC protocol is enabled. | 315 // This only has an effect if QUIC protocol is enabled. |
| 316 const char kDisableQuicPacing[] = "disable-quic-pacing"; | 316 const char kDisableQuicPacing[] = "disable-quic-pacing"; |
| 317 | 317 |
| 318 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 318 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
| 319 // This only has an effect if QUIC protocol is enabled. | 319 // This only has an effect if QUIC protocol is enabled. |
| 320 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; | 320 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
| 321 | 321 |
| 322 // Prevents the save password bubble from being enabled. | 322 // Prevents the save password bubble from being enabled. |
| 323 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | 323 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; |
| 324 | 324 |
| 325 // Prevents SDCH persistence from being used. |
| 326 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; |
| 327 |
| 325 // Disables the "search button in omnibox" experiment. | 328 // Disables the "search button in omnibox" experiment. |
| 326 const char kDisableSearchButtonInOmnibox[] = | 329 const char kDisableSearchButtonInOmnibox[] = |
| 327 "disable-search-button-in-omnibox"; | 330 "disable-search-button-in-omnibox"; |
| 328 | 331 |
| 329 // Disables using bubbles for session restore request. | 332 // Disables using bubbles for session restore request. |
| 330 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; | 333 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; |
| 331 | 334 |
| 332 // Disables the suggestions service. | 335 // Disables the suggestions service. |
| 333 const char kDisableSuggestionsService[] = "disable-suggestions-service"; | 336 const char kDisableSuggestionsService[] = "disable-suggestions-service"; |
| 334 | 337 |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 // Enables context-sensitive reader mode button in the toolbar. | 543 // Enables context-sensitive reader mode button in the toolbar. |
| 541 const char kEnableReaderModeToolbarIcon[] = | 544 const char kEnableReaderModeToolbarIcon[] = |
| 542 "enable-reader-mode-toolbar-icon"; | 545 "enable-reader-mode-toolbar-icon"; |
| 543 | 546 |
| 544 // Enables save password prompt bubble. | 547 // Enables save password prompt bubble. |
| 545 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | 548 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; |
| 546 | 549 |
| 547 // Enables SDCH for https schemes. | 550 // Enables SDCH for https schemes. |
| 548 const char kEnableSdchOverHttps[] = "enable-sdch-over-https"; | 551 const char kEnableSdchOverHttps[] = "enable-sdch-over-https"; |
| 549 | 552 |
| 553 // Enables SDCH persistence. |
| 554 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; |
| 555 |
| 550 // Controls which branch of the "search button in omnibox" experiment is | 556 // Controls which branch of the "search button in omnibox" experiment is |
| 551 // enabled. | 557 // enabled. |
| 552 // | 558 // |
| 553 // We're using independent flags here (as opposed to a common flag with | 559 // We're using independent flags here (as opposed to a common flag with |
| 554 // different values) to be able to enable/disable the entire experience | 560 // different values) to be able to enable/disable the entire experience |
| 555 // associated with this feature server-side from the FieldTrial (the complete | 561 // associated with this feature server-side from the FieldTrial (the complete |
| 556 // experience includes other flag changes as well). It is not currently possible | 562 // experience includes other flag changes as well). It is not currently possible |
| 557 // to do that with "flag=value" flags. | 563 // to do that with "flag=value" flags. |
| 558 const char kEnableSearchButtonInOmniboxAlways[] = | 564 const char kEnableSearchButtonInOmniboxAlways[] = |
| 559 "enable-search-button-in-omnibox-always"; | 565 "enable-search-button-in-omnibox-always"; |
| (...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1392 | 1398 |
| 1393 // ----------------------------------------------------------------------------- | 1399 // ----------------------------------------------------------------------------- |
| 1394 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1400 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1395 // | 1401 // |
| 1396 // You were going to just dump your switches here, weren't you? Instead, please | 1402 // You were going to just dump your switches here, weren't you? Instead, please |
| 1397 // put them in alphabetical order above, or in order inside the appropriate | 1403 // put them in alphabetical order above, or in order inside the appropriate |
| 1398 // ifdef at the bottom. The order should match the header. | 1404 // ifdef at the bottom. The order should match the header. |
| 1399 // ----------------------------------------------------------------------------- | 1405 // ----------------------------------------------------------------------------- |
| 1400 | 1406 |
| 1401 } // namespace switches | 1407 } // namespace switches |
| OLD | NEW |