| 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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 // Disable pop-up blocking. | 395 // Disable pop-up blocking. |
| 396 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 396 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
| 397 | 397 |
| 398 // Disable speculative TCP/IP preconnection. | 398 // Disable speculative TCP/IP preconnection. |
| 399 const char kDisablePreconnect[] = "disable-preconnect"; | 399 const char kDisablePreconnect[] = "disable-preconnect"; |
| 400 | 400 |
| 401 // Disable prerendering based on local browsing history. | 401 // Disable prerendering based on local browsing history. |
| 402 const char kDisablePrerenderLocalPredictor[] = | 402 const char kDisablePrerenderLocalPredictor[] = |
| 403 "disable-prerender-local-predictor"; | 403 "disable-prerender-local-predictor"; |
| 404 | 404 |
| 405 // Disable Privet local printing. |
| 406 const char kDisablePrivetLocalPrinting[] = "disable-privet-local-printing"; |
| 407 |
| 405 // Normally when the user attempts to navigate to a page that was the result of | 408 // Normally when the user attempts to navigate to a page that was the result of |
| 406 // a post we prompt to make sure they want to. This switch may be used to | 409 // a post we prompt to make sure they want to. This switch may be used to |
| 407 // disable that check. This switch is used during automated testing. | 410 // disable that check. This switch is used during automated testing. |
| 408 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 411 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
| 409 | 412 |
| 410 // Disables support for the QUIC protocol. | 413 // Disables support for the QUIC protocol. |
| 411 const char kDisableQuic[] = "disable-quic"; | 414 const char kDisableQuic[] = "disable-quic"; |
| 412 | 415 |
| 413 // Disables support for the HTTPS over QUIC protocol. This is a temporary | 416 // Disables support for the HTTPS over QUIC protocol. This is a temporary |
| 414 // testing flag. This only has an effect if QUIC protocol is enabled. | 417 // testing flag. This only has an effect if QUIC protocol is enabled. |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 // Enables searching for people from the apps list search box. | 686 // Enables searching for people from the apps list search box. |
| 684 const char kDisablePeopleSearch[] = "disable-people-search"; | 687 const char kDisablePeopleSearch[] = "disable-people-search"; |
| 685 | 688 |
| 686 // Disables the usage of Portable Native Client. | 689 // Disables the usage of Portable Native Client. |
| 687 const char kDisablePnacl[] = "disable-pnacl"; | 690 const char kDisablePnacl[] = "disable-pnacl"; |
| 688 | 691 |
| 689 // Enables the proactive populating of the disk cache with Web resources that | 692 // Enables the proactive populating of the disk cache with Web resources that |
| 690 // are likely to be needed in future page fetches. | 693 // are likely to be needed in future page fetches. |
| 691 const char kEnablePrecache[] = "enable-precache"; | 694 const char kEnablePrecache[] = "enable-precache"; |
| 692 | 695 |
| 693 // Enable Privet local printing. | |
| 694 const char kEnablePrivetLocalPrinting[] = "enable-privet-local-printing"; | |
| 695 | |
| 696 // Enables tracking of tasks in profiler for viewing via about:profiler. | 696 // Enables tracking of tasks in profiler for viewing via about:profiler. |
| 697 // To predominantly disable tracking (profiling), use the command line switch: | 697 // To predominantly disable tracking (profiling), use the command line switch: |
| 698 // --enable-profiling=0 | 698 // --enable-profiling=0 |
| 699 // Some tracking will still take place at startup, but it will be turned off | 699 // Some tracking will still take place at startup, but it will be turned off |
| 700 // during chrome_browser_main. | 700 // during chrome_browser_main. |
| 701 const char kEnableProfiling[] = "enable-profiling"; | 701 const char kEnableProfiling[] = "enable-profiling"; |
| 702 | 702 |
| 703 // Enables forwarding preconnection hints to suitable proxy servers. | 703 // Enables forwarding preconnection hints to suitable proxy servers. |
| 704 const char kEnableProxyPreconnectHints[] = "enable-proxy-preconnect-hints"; | 704 const char kEnableProxyPreconnectHints[] = "enable-proxy-preconnect-hints"; |
| 705 | 705 |
| (...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1649 | 1649 |
| 1650 // ----------------------------------------------------------------------------- | 1650 // ----------------------------------------------------------------------------- |
| 1651 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1651 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1652 // | 1652 // |
| 1653 // You were going to just dump your switches here, weren't you? Instead, please | 1653 // You were going to just dump your switches here, weren't you? Instead, please |
| 1654 // put them in alphabetical order above, or in order inside the appropriate | 1654 // put them in alphabetical order above, or in order inside the appropriate |
| 1655 // ifdef at the bottom. The order should match the header. | 1655 // ifdef at the bottom. The order should match the header. |
| 1656 // ----------------------------------------------------------------------------- | 1656 // ----------------------------------------------------------------------------- |
| 1657 | 1657 |
| 1658 } // namespace switches | 1658 } // namespace switches |
| OLD | NEW |