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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 // Order of the listed sub-arguments does not matter. | 801 // Order of the listed sub-arguments does not matter. |
802 const char kEnableWatchdog[] = "enable-watchdog"; | 802 const char kEnableWatchdog[] = "enable-watchdog"; |
803 | 803 |
804 // Uses WebSocket over SPDY. | 804 // Uses WebSocket over SPDY. |
805 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; | 805 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; |
806 | 806 |
807 // Explicitly allows additional ports using a comma-separated list of port | 807 // Explicitly allows additional ports using a comma-separated list of port |
808 // numbers. | 808 // numbers. |
809 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 809 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
810 | 810 |
811 // The time in seconds that an extension event page can be idle before it | |
812 // is shut down. | |
813 const char kEventPageIdleTime[] = "event-page-idle-time"; | |
814 | |
815 // The time in seconds that an extension event page has between being notified | |
816 // of its impending unload and that unload happening. | |
817 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; | |
818 | |
819 // Marks a renderer as extension process. | 811 // Marks a renderer as extension process. |
820 const char kExtensionProcess[] = "extension-process"; | 812 const char kExtensionProcess[] = "extension-process"; |
821 | 813 |
822 // Frequency in seconds for Extensions auto-update. | 814 // Frequency in seconds for Extensions auto-update. |
823 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; | 815 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; |
824 | 816 |
825 // Additional query params to insert in the search and instant URLs. Useful for | 817 // Additional query params to insert in the search and instant URLs. Useful for |
826 // testing. | 818 // testing. |
827 const char kExtraSearchQueryParams[] = "extra-search-query-params"; | 819 const char kExtraSearchQueryParams[] = "extra-search-query-params"; |
828 | 820 |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1666 | 1658 |
1667 // ----------------------------------------------------------------------------- | 1659 // ----------------------------------------------------------------------------- |
1668 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1660 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1669 // | 1661 // |
1670 // You were going to just dump your switches here, weren't you? Instead, please | 1662 // You were going to just dump your switches here, weren't you? Instead, please |
1671 // put them in alphabetical order above, or in order inside the appropriate | 1663 // put them in alphabetical order above, or in order inside the appropriate |
1672 // ifdef at the bottom. The order should match the header. | 1664 // ifdef at the bottom. The order should match the header. |
1673 // ----------------------------------------------------------------------------- | 1665 // ----------------------------------------------------------------------------- |
1674 | 1666 |
1675 } // namespace switches | 1667 } // namespace switches |
OLD | NEW |