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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 const char kDisablePrintPreview[] = "disable-print-preview"; | 312 const char kDisablePrintPreview[] = "disable-print-preview"; |
313 | 313 |
314 // Normally when the user attempts to navigate to a page that was the result of | 314 // Normally when the user attempts to navigate to a page that was the result of |
315 // a post we prompt to make sure they want to. This switch may be used to | 315 // a post we prompt to make sure they want to. This switch may be used to |
316 // disable that check. This switch is used during automated testing. | 316 // disable that check. This switch is used during automated testing. |
317 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 317 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
318 | 318 |
319 // Disables support for the QUIC protocol. | 319 // Disables support for the QUIC protocol. |
320 const char kDisableQuic[] = "disable-quic"; | 320 const char kDisableQuic[] = "disable-quic"; |
321 | 321 |
322 // Disable use of pacing of QUIC packets. | |
323 // This only has an effect if QUIC protocol is enabled. | |
324 const char kDisableQuicPacing[] = "disable-quic-pacing"; | |
325 | |
326 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 322 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
327 // This only has an effect if QUIC protocol is enabled. | 323 // This only has an effect if QUIC protocol is enabled. |
328 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; | 324 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
329 | 325 |
330 // Prevents the save password bubble from being enabled. | 326 // Prevents the save password bubble from being enabled. |
331 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | 327 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; |
332 | 328 |
333 // Prevents SDCH persistence from being used. | 329 // Prevents SDCH persistence from being used. |
334 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; | 330 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; |
335 | 331 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 // Some tracking will still take place at startup, but it will be turned off | 500 // Some tracking will still take place at startup, but it will be turned off |
505 // during chrome_browser_main. | 501 // during chrome_browser_main. |
506 const char kEnableProfiling[] = "enable-profiling"; | 502 const char kEnableProfiling[] = "enable-profiling"; |
507 | 503 |
508 // Enables query in the omnibox. | 504 // Enables query in the omnibox. |
509 const char kEnableQueryExtraction[] = "enable-query-extraction"; | 505 const char kEnableQueryExtraction[] = "enable-query-extraction"; |
510 | 506 |
511 // Enables support for the QUIC protocol. This is a temporary testing flag. | 507 // Enables support for the QUIC protocol. This is a temporary testing flag. |
512 const char kEnableQuic[] = "enable-quic"; | 508 const char kEnableQuic[] = "enable-quic"; |
513 | 509 |
514 // Disable use of pacing of QUIC packets. | |
515 // This only has an effect if QUIC protocol is enabled. | |
516 const char kEnableQuicPacing[] = "enable-quic-pacing"; | |
517 | |
518 // Enable use of Chromium's port selection for the ephemeral port via bind(). | 510 // Enable use of Chromium's port selection for the ephemeral port via bind(). |
519 // This only has an effect if QUIC protocol is enabled. | 511 // This only has an effect if QUIC protocol is enabled. |
520 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; | 512 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; |
521 | 513 |
522 // Enables save password prompt bubble. | 514 // Enables save password prompt bubble. |
523 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | 515 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; |
524 | 516 |
525 // Enables SDCH persistence. | 517 // Enables SDCH persistence. |
526 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; | 518 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; |
527 | 519 |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 | 1364 |
1373 // ----------------------------------------------------------------------------- | 1365 // ----------------------------------------------------------------------------- |
1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1366 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1375 // | 1367 // |
1376 // You were going to just dump your switches here, weren't you? Instead, please | 1368 // You were going to just dump your switches here, weren't you? Instead, please |
1377 // put them in alphabetical order above, or in order inside the appropriate | 1369 // put them in alphabetical order above, or in order inside the appropriate |
1378 // ifdef at the bottom. The order should match the header. | 1370 // ifdef at the bottom. The order should match the header. |
1379 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
1380 | 1372 |
1381 } // namespace switches | 1373 } // namespace switches |
OLD | NEW |