OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Defines all the "content" command-line switches. | 5 // Defines all the "content" command-line switches. |
6 | 6 |
7 #ifndef CONTENT_COMMON_CONTENT_SWITCHES_H_ | 7 #ifndef CONTENT_COMMON_CONTENT_SWITCHES_H_ |
8 #define CONTENT_COMMON_CONTENT_SWITCHES_H_ | 8 #define CONTENT_COMMON_CONTENT_SWITCHES_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "base/command_line.h" | |
jam
2011/06/09 21:44:29
this seems wrong. you should only include command
Cris Neckar
2011/06/09 22:17:16
Done.
| |
12 | |
11 namespace switches { | 13 namespace switches { |
12 | 14 |
13 extern const char kAllowFileAccessFromFiles[]; | 15 extern const char kAllowFileAccessFromFiles[]; |
14 extern const char kAllowRunningInsecureContent[]; | 16 extern const char kAllowRunningInsecureContent[]; |
15 extern const char kAllowSandboxDebugging[]; | 17 extern const char kAllowSandboxDebugging[]; |
16 extern const char kBrowserSubprocessPath[]; | 18 extern const char kBrowserSubprocessPath[]; |
17 // TODO(jam): this doesn't belong in content. | 19 // TODO(jam): this doesn't belong in content. |
18 extern const char kChromeFrame[]; | 20 extern const char kChromeFrame[]; |
19 extern const char kDisable3DAPIs[]; | 21 extern const char kDisable3DAPIs[]; |
20 extern const char kDisableAcceleratedCompositing[]; | 22 extern const char kDisableAcceleratedCompositing[]; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
120 extern const char kUtilityProcess[]; | 122 extern const char kUtilityProcess[]; |
121 extern const char kUtilityProcessAllowedDir[]; | 123 extern const char kUtilityProcessAllowedDir[]; |
122 extern const char kWaitForDebuggerChildren[]; | 124 extern const char kWaitForDebuggerChildren[]; |
123 extern const char kWebCoreLogChannels[]; | 125 extern const char kWebCoreLogChannels[]; |
124 extern const char kWebWorkerProcessPerCore[]; | 126 extern const char kWebWorkerProcessPerCore[]; |
125 extern const char kWebWorkerShareProcesses[]; | 127 extern const char kWebWorkerShareProcesses[]; |
126 extern const char kWorkerProcess[]; | 128 extern const char kWorkerProcess[]; |
127 extern const char kZygoteCmdPrefix[]; | 129 extern const char kZygoteCmdPrefix[]; |
128 extern const char kZygoteProcess[]; | 130 extern const char kZygoteProcess[]; |
129 | 131 |
132 #if defined(OS_WIN) | |
133 extern const char kAuditHandles[]; | |
134 extern const char kAuditAllHandles[]; | |
135 #endif | |
136 | |
130 #if defined(ENABLE_P2P_APIS) | 137 #if defined(ENABLE_P2P_APIS) |
131 extern const char kEnableP2PApi[]; | 138 extern const char kEnableP2PApi[]; |
132 #endif | 139 #endif |
133 | 140 |
134 #if !defined(OFFICIAL_BUILD) | 141 #if !defined(OFFICIAL_BUILD) |
135 extern const char kRendererCheckFalseTest[]; | 142 extern const char kRendererCheckFalseTest[]; |
136 #endif | 143 #endif |
137 | 144 |
138 } // namespace switches | 145 } // namespace switches |
139 | 146 |
140 #endif // CONTENT_COMMON_CONTENT_SWITCHES_H_ | 147 #endif // CONTENT_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |