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