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 "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 | 13 |
14 namespace switches { | 14 namespace switches { |
15 | 15 |
16 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; | 16 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; |
17 CONTENT_EXPORT extern const char kAllowRunningInsecureContent[]; | |
18 extern const char kAllowSandboxDebugging[]; | 17 extern const char kAllowSandboxDebugging[]; |
19 extern const char kAuditHandles[]; | 18 extern const char kAuditHandles[]; |
20 extern const char kAuditAllHandles[]; | 19 extern const char kAuditAllHandles[]; |
21 CONTENT_EXPORT extern const char kBrowserAssertTest[]; | 20 CONTENT_EXPORT extern const char kBrowserAssertTest[]; |
22 CONTENT_EXPORT extern const char kBrowserCrashTest[]; | 21 CONTENT_EXPORT extern const char kBrowserCrashTest[]; |
23 extern const char kBrowserSubprocessPath[]; | 22 extern const char kBrowserSubprocessPath[]; |
24 // TODO(jam): this doesn't belong in content. | 23 // TODO(jam): this doesn't belong in content. |
25 CONTENT_EXPORT extern const char kChromeFrame[]; | 24 CONTENT_EXPORT extern const char kChromeFrame[]; |
26 CONTENT_EXPORT extern const char kDisable3DAPIs[]; | 25 CONTENT_EXPORT extern const char kDisable3DAPIs[]; |
27 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; | 26 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 CONTENT_EXPORT extern const char kLoggingLevel[]; | 102 CONTENT_EXPORT extern const char kLoggingLevel[]; |
104 extern const char kLogPluginMessages[]; | 103 extern const char kLogPluginMessages[]; |
105 extern const char kHighLatencyAudio[]; | 104 extern const char kHighLatencyAudio[]; |
106 // TODO(jam): this doesn't belong in content. | 105 // TODO(jam): this doesn't belong in content. |
107 CONTENT_EXPORT extern const char kNaClBrokerProcess[]; | 106 CONTENT_EXPORT extern const char kNaClBrokerProcess[]; |
108 CONTENT_EXPORT extern const char kNaClLoaderProcess[]; | 107 CONTENT_EXPORT extern const char kNaClLoaderProcess[]; |
109 // TODO(bradchen): remove kNaClLinuxHelper switch. | 108 // TODO(bradchen): remove kNaClLinuxHelper switch. |
110 // This switch enables the experimental lightweight nacl_helper for Linux. | 109 // This switch enables the experimental lightweight nacl_helper for Linux. |
111 // It will be going away soon, when the helper is enabled permanently. | 110 // It will be going away soon, when the helper is enabled permanently. |
112 extern const char kNaClLinuxHelper[]; | 111 extern const char kNaClLinuxHelper[]; |
113 CONTENT_EXPORT extern const char kNoDisplayingInsecureContent[]; | |
114 extern const char kNoJsRandomness[]; | 112 extern const char kNoJsRandomness[]; |
115 CONTENT_EXPORT extern const char kNoReferrers[]; | 113 CONTENT_EXPORT extern const char kNoReferrers[]; |
116 CONTENT_EXPORT extern const char kNoSandbox[]; | 114 CONTENT_EXPORT extern const char kNoSandbox[]; |
117 CONTENT_EXPORT extern const char kPlaybackMode[]; | 115 CONTENT_EXPORT extern const char kPlaybackMode[]; |
118 extern const char kPluginLauncher[]; | 116 extern const char kPluginLauncher[]; |
119 CONTENT_EXPORT extern const char kPluginPath[]; | 117 CONTENT_EXPORT extern const char kPluginPath[]; |
120 CONTENT_EXPORT extern const char kPluginProcess[]; | 118 CONTENT_EXPORT extern const char kPluginProcess[]; |
121 extern const char kPluginStartupDialog[]; | 119 extern const char kPluginStartupDialog[]; |
122 CONTENT_EXPORT extern const char kPpapiBrokerProcess[]; | 120 CONTENT_EXPORT extern const char kPpapiBrokerProcess[]; |
123 CONTENT_EXPORT extern const char kPpapiFlashArgs[]; | 121 CONTENT_EXPORT extern const char kPpapiFlashArgs[]; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 extern const char kUseSystemSSL[]; | 166 extern const char kUseSystemSSL[]; |
169 #endif | 167 #endif |
170 | 168 |
171 #if !defined(OFFICIAL_BUILD) | 169 #if !defined(OFFICIAL_BUILD) |
172 extern const char kRendererCheckFalseTest[]; | 170 extern const char kRendererCheckFalseTest[]; |
173 #endif | 171 #endif |
174 | 172 |
175 } // namespace switches | 173 } // namespace switches |
176 | 174 |
177 #endif // CONTENT_COMMON_CONTENT_SWITCHES_H_ | 175 #endif // CONTENT_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |