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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 | 419 |
420 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 420 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
421 // This only has an effect if QUIC protocol is enabled. | 421 // This only has an effect if QUIC protocol is enabled. |
422 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; | 422 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
423 | 423 |
424 // Prevents the URLs of BackgroundContents from being remembered and | 424 // Prevents the URLs of BackgroundContents from being remembered and |
425 // re-launched when the browser restarts. | 425 // re-launched when the browser restarts. |
426 const char kDisableRestoreBackgroundContents[] = | 426 const char kDisableRestoreBackgroundContents[] = |
427 "disable-restore-background-contents"; | 427 "disable-restore-background-contents"; |
428 | 428 |
429 // Disables restoring session state (cookies, session storage, etc.) when | |
430 // restoring the browsing session. | |
431 const char kDisableRestoreSessionState[] = "disable-restore-session-state"; | |
432 | |
433 // Disables throttling prints initiated by scripts. | 429 // Disables throttling prints initiated by scripts. |
434 const char kDisableScriptedPrintThrottling[] = | 430 const char kDisableScriptedPrintThrottling[] = |
435 "disable-scripted-print-throttling"; | 431 "disable-scripted-print-throttling"; |
436 | 432 |
437 // Disables the "search button in omnibox" experiment. | 433 // Disables the "search button in omnibox" experiment. |
438 const char kDisableSearchButtonInOmnibox[] = | 434 const char kDisableSearchButtonInOmnibox[] = |
439 "disable-search-button-in-omnibox"; | 435 "disable-search-button-in-omnibox"; |
440 | 436 |
441 // Disable SPDY/3.1. This is a temporary testing flag. | 437 // Disable SPDY/3.1. This is a temporary testing flag. |
442 const char kDisableSpdy31[] = "disable-spdy31"; | 438 const char kDisableSpdy31[] = "disable-spdy31"; |
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 | 1642 |
1647 // ----------------------------------------------------------------------------- | 1643 // ----------------------------------------------------------------------------- |
1648 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1644 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1649 // | 1645 // |
1650 // You were going to just dump your switches here, weren't you? Instead, please | 1646 // You were going to just dump your switches here, weren't you? Instead, please |
1651 // put them in alphabetical order above, or in order inside the appropriate | 1647 // put them in alphabetical order above, or in order inside the appropriate |
1652 // ifdef at the bottom. The order should match the header. | 1648 // ifdef at the bottom. The order should match the header. |
1653 // ----------------------------------------------------------------------------- | 1649 // ----------------------------------------------------------------------------- |
1654 | 1650 |
1655 } // namespace switches | 1651 } // namespace switches |
OLD | NEW |