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 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1537 const char kEnableSyncCredentialCaching[] = "enable-sync-credential-caching"; | 1537 const char kEnableSyncCredentialCaching[] = "enable-sync-credential-caching"; |
1538 | 1538 |
1539 // For the DelegateExecute verb handler to launch Chrome in metro mode on | 1539 // For the DelegateExecute verb handler to launch Chrome in metro mode on |
1540 // Windows 8 and higher. Used when relaunching metro Chrome. | 1540 // Windows 8 and higher. Used when relaunching metro Chrome. |
1541 const char kForceImmersive[] = "force-immersive"; | 1541 const char kForceImmersive[] = "force-immersive"; |
1542 | 1542 |
1543 // For the DelegateExecute verb handler to launch Chrome in desktop mode on | 1543 // For the DelegateExecute verb handler to launch Chrome in desktop mode on |
1544 // Windows 8 and higher. Used when relaunching metro Chrome. | 1544 // Windows 8 and higher. Used when relaunching metro Chrome. |
1545 const char kForceDesktop[] = "force-desktop"; | 1545 const char kForceDesktop[] = "force-desktop"; |
1546 | 1546 |
| 1547 // Allows for disabling the overlapped I/O for TCP reads. |
| 1548 // Possible values are "on" or "off". |
| 1549 // The default is "on" which matches the existing behavior. |
| 1550 // "off" switches to use non-blocking reads and WSAEventSelect. |
| 1551 const char kOverlappedRead[] = "overlapped-reads"; |
| 1552 |
1547 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. | 1553 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. |
1548 const char kRelaunchShortcut[] = "relaunch-shortcut"; | 1554 const char kRelaunchShortcut[] = "relaunch-shortcut"; |
1549 | 1555 |
1550 // Waits for the given handle to be signaled before relaunching metro Chrome on | 1556 // Waits for the given handle to be signaled before relaunching metro Chrome on |
1551 // Windows 8 and higher. | 1557 // Windows 8 and higher. |
1552 const char kWaitForMutex[] = "wait-for-mutex"; | 1558 const char kWaitForMutex[] = "wait-for-mutex"; |
1553 #endif | 1559 #endif |
1554 | 1560 |
1555 #if defined(USE_AURA) | 1561 #if defined(USE_AURA) |
1556 // Use NativeTabContentsViewAura instead of the default implementation. | 1562 // Use NativeTabContentsViewAura instead of the default implementation. |
(...skipping 29 matching lines...) Expand all Loading... |
1586 | 1592 |
1587 // ----------------------------------------------------------------------------- | 1593 // ----------------------------------------------------------------------------- |
1588 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1594 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1589 // | 1595 // |
1590 // You were going to just dump your switches here, weren't you? Instead, please | 1596 // You were going to just dump your switches here, weren't you? Instead, please |
1591 // put them in alphabetical order above, or in order inside the appropriate | 1597 // put them in alphabetical order above, or in order inside the appropriate |
1592 // ifdef at the bottom. The order should match the header. | 1598 // ifdef at the bottom. The order should match the header. |
1593 // ----------------------------------------------------------------------------- | 1599 // ----------------------------------------------------------------------------- |
1594 | 1600 |
1595 } // namespace switches | 1601 } // namespace switches |
OLD | NEW |