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 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 | 1649 |
1650 // Allows for disabling the overlapped I/O for TCP reads. | 1650 // Allows for disabling the overlapped I/O for TCP reads. |
1651 // Possible values are "on" or "off". | 1651 // Possible values are "on" or "off". |
1652 // The default is "on" which matches the existing behavior. | 1652 // The default is "on" which matches the existing behavior. |
1653 // "off" switches to use non-blocking reads and WSAEventSelect. | 1653 // "off" switches to use non-blocking reads and WSAEventSelect. |
1654 const char kOverlappedRead[] = "overlapped-reads"; | 1654 const char kOverlappedRead[] = "overlapped-reads"; |
1655 | 1655 |
1656 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. | 1656 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. |
1657 const char kRelaunchShortcut[] = "relaunch-shortcut"; | 1657 const char kRelaunchShortcut[] = "relaunch-shortcut"; |
1658 | 1658 |
| 1659 // The following are used to get the result/output of an operation. See |
| 1660 // apps/app_host/operation_launcher.h for more details. |
| 1661 // The process ID of the operation client. |
| 1662 const char kTaskRemoteProcessId[] = "task-remote-process-id"; |
| 1663 // A writable HANDLE, valid in the client process, which should be used to write |
| 1664 // the operation output. |
| 1665 const char kTaskOutputHandle[] = "task-output-handle"; |
| 1666 // A writable HANDLE, valid in the client process, which should be used to write |
| 1667 // the operation exit code (as a binary DWORD). |
| 1668 const char kTaskResultHandle[] = "task-result-handle"; |
| 1669 |
1659 // Waits for the given handle to be signaled before relaunching metro Chrome on | 1670 // Waits for the given handle to be signaled before relaunching metro Chrome on |
1660 // Windows 8 and higher. | 1671 // Windows 8 and higher. |
1661 const char kWaitForMutex[] = "wait-for-mutex"; | 1672 const char kWaitForMutex[] = "wait-for-mutex"; |
1662 #endif | 1673 #endif |
1663 | 1674 |
1664 #ifndef NDEBUG | 1675 #ifndef NDEBUG |
1665 // Enables overriding the path of file manager extension. | 1676 // Enables overriding the path of file manager extension. |
1666 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; | 1677 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; |
1667 | 1678 |
1668 // Enables overriding the path of image loader extension. | 1679 // Enables overriding the path of image loader extension. |
(...skipping 16 matching lines...) Expand all Loading... |
1685 | 1696 |
1686 // ----------------------------------------------------------------------------- | 1697 // ----------------------------------------------------------------------------- |
1687 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1698 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1688 // | 1699 // |
1689 // You were going to just dump your switches here, weren't you? Instead, please | 1700 // You were going to just dump your switches here, weren't you? Instead, please |
1690 // put them in alphabetical order above, or in order inside the appropriate | 1701 // put them in alphabetical order above, or in order inside the appropriate |
1691 // ifdef at the bottom. The order should match the header. | 1702 // ifdef at the bottom. The order should match the header. |
1692 // ----------------------------------------------------------------------------- | 1703 // ----------------------------------------------------------------------------- |
1693 | 1704 |
1694 } // namespace switches | 1705 } // namespace switches |
OLD | NEW |