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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 const char kDisableQuic[] = "disable-quic"; | 324 const char kDisableQuic[] = "disable-quic"; |
325 | 325 |
326 // Disable use of pacing of QUIC packets. | 326 // Disable use of pacing of QUIC packets. |
327 // This only has an effect if QUIC protocol is enabled. | 327 // This only has an effect if QUIC protocol is enabled. |
328 const char kDisableQuicPacing[] = "disable-quic-pacing"; | 328 const char kDisableQuicPacing[] = "disable-quic-pacing"; |
329 | 329 |
330 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 330 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
331 // This only has an effect if QUIC protocol is enabled. | 331 // This only has an effect if QUIC protocol is enabled. |
332 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; | 332 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
333 | 333 |
334 // Disable use of time-base loss detection for QUIC connections. | |
335 // This only has an effect if QUIC protocol is enabled. | |
336 const char kDisableQuicTimeBasedLossDetection[] = | |
337 "disable-quic-time-based-loss-detection"; | |
338 | |
339 // Prevents the save password bubble from being enabled. | 334 // Prevents the save password bubble from being enabled. |
340 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | 335 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; |
341 | 336 |
342 // Disables the "search button in omnibox" experiment. | 337 // Disables the "search button in omnibox" experiment. |
343 const char kDisableSearchButtonInOmnibox[] = | 338 const char kDisableSearchButtonInOmnibox[] = |
344 "disable-search-button-in-omnibox"; | 339 "disable-search-button-in-omnibox"; |
345 | 340 |
346 // Disables using bubbles for session restore request. | 341 // Disables using bubbles for session restore request. |
347 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; | 342 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; |
348 | 343 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 const char kEnableQuic[] = "enable-quic"; | 529 const char kEnableQuic[] = "enable-quic"; |
535 | 530 |
536 // Disable use of pacing of QUIC packets. | 531 // Disable use of pacing of QUIC packets. |
537 // This only has an effect if QUIC protocol is enabled. | 532 // This only has an effect if QUIC protocol is enabled. |
538 const char kEnableQuicPacing[] = "enable-quic-pacing"; | 533 const char kEnableQuicPacing[] = "enable-quic-pacing"; |
539 | 534 |
540 // Enable use of Chromium's port selection for the ephemeral port via bind(). | 535 // Enable use of Chromium's port selection for the ephemeral port via bind(). |
541 // This only has an effect if QUIC protocol is enabled. | 536 // This only has an effect if QUIC protocol is enabled. |
542 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; | 537 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; |
543 | 538 |
544 // Enables use of time-base loss detection for QUIC connections. | |
545 // This only has an effect if QUIC protocol is enabled. | |
546 const char kEnableQuicTimeBasedLossDetection[] = | |
547 "enable-quic-time-based-loss-detection"; | |
548 | |
549 // Enables context-sensitive reader mode button in the toolbar. | 539 // Enables context-sensitive reader mode button in the toolbar. |
550 const char kEnableReaderModeToolbarIcon[] = | 540 const char kEnableReaderModeToolbarIcon[] = |
551 "enable-reader-mode-toolbar-icon"; | 541 "enable-reader-mode-toolbar-icon"; |
552 | 542 |
553 // Enables save password prompt bubble. | 543 // Enables save password prompt bubble. |
554 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | 544 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; |
555 | 545 |
556 // Enables SDCH for https schemes. | 546 // Enables SDCH for https schemes. |
557 const char kEnableSdchOverHttps[] = "enable-sdch-over-https"; | 547 const char kEnableSdchOverHttps[] = "enable-sdch-over-https"; |
558 | 548 |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1359 | 1349 |
1360 // ----------------------------------------------------------------------------- | 1350 // ----------------------------------------------------------------------------- |
1361 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1351 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1362 // | 1352 // |
1363 // You were going to just dump your switches here, weren't you? Instead, please | 1353 // You were going to just dump your switches here, weren't you? Instead, please |
1364 // put them in alphabetical order above, or in order inside the appropriate | 1354 // put them in alphabetical order above, or in order inside the appropriate |
1365 // ifdef at the bottom. The order should match the header. | 1355 // ifdef at the bottom. The order should match the header. |
1366 // ----------------------------------------------------------------------------- | 1356 // ----------------------------------------------------------------------------- |
1367 | 1357 |
1368 } // namespace switches | 1358 } // namespace switches |
OLD | NEW |