| 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 // instant-extended-api, where thumbnails are generally smaller. | 613 // instant-extended-api, where thumbnails are generally smaller. |
| 614 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; | 614 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; |
| 615 | 615 |
| 616 // Enables Translate experimental new UX which replaces the infobar. | 616 // Enables Translate experimental new UX which replaces the infobar. |
| 617 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; | 617 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; |
| 618 | 618 |
| 619 // Enables Alternate-Protocol when the port is user controlled (> 1024). | 619 // Enables Alternate-Protocol when the port is user controlled (> 1024). |
| 620 const char kEnableUserAlternateProtocolPorts[] = | 620 const char kEnableUserAlternateProtocolPorts[] = |
| 621 "enable-user-controlled-alternate-protocol-ports"; | 621 "enable-user-controlled-alternate-protocol-ports"; |
| 622 | 622 |
| 623 // Spawns threads to watch for excessive delays in specified message loops. | |
| 624 // User should set breakpoints on Alarm() to examine problematic thread. | |
| 625 // | |
| 626 // Usage: -enable-watchdog=[ui][io] | |
| 627 // | |
| 628 // Order of the listed sub-arguments does not matter. | |
| 629 const char kEnableWatchdog[] = "enable-watchdog"; | |
| 630 | |
| 631 // Uses WebSocket over SPDY. | 623 // Uses WebSocket over SPDY. |
| 632 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; | 624 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; |
| 633 | 625 |
| 634 // Enables the Website Settings page on the Settings page. | 626 // Enables the Website Settings page on the Settings page. |
| 635 const char kEnableWebsiteSettingsManager[] = "enable-website-settings-manager"; | 627 const char kEnableWebsiteSettingsManager[] = "enable-website-settings-manager"; |
| 636 | 628 |
| 637 // Explicitly allows additional ports using a comma-separated list of port | 629 // Explicitly allows additional ports using a comma-separated list of port |
| 638 // numbers. | 630 // numbers. |
| 639 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 631 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
| 640 | 632 |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1369 | 1361 |
| 1370 // ----------------------------------------------------------------------------- | 1362 // ----------------------------------------------------------------------------- |
| 1371 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1363 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1372 // | 1364 // |
| 1373 // You were going to just dump your switches here, weren't you? Instead, please | 1365 // You were going to just dump your switches here, weren't you? Instead, please |
| 1374 // put them in alphabetical order above, or in order inside the appropriate | 1366 // put them in alphabetical order above, or in order inside the appropriate |
| 1375 // ifdef at the bottom. The order should match the header. | 1367 // ifdef at the bottom. The order should match the header. |
| 1376 // ----------------------------------------------------------------------------- | 1368 // ----------------------------------------------------------------------------- |
| 1377 | 1369 |
| 1378 } // namespace switches | 1370 } // namespace switches |
| OLD | NEW |