Chromium Code Reviews| 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 #include "content/common/content_switches.h" | 5 #include "content/common/content_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 135 | 135 |
| 136 // Force logging to be enabled. Logging is disabled by default in release | 136 // Force logging to be enabled. Logging is disabled by default in release |
| 137 // builds. | 137 // builds. |
| 138 const char kEnableLogging[] = "enable-logging"; | 138 const char kEnableLogging[] = "enable-logging"; |
| 139 | 139 |
| 140 // On Windows, converts the page to the currently-installed monitor profile. | 140 // On Windows, converts the page to the currently-installed monitor profile. |
| 141 // This does NOT enable color management for images. The source is still | 141 // This does NOT enable color management for images. The source is still |
| 142 // assumed to be sRGB. | 142 // assumed to be sRGB. |
| 143 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 143 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 144 | 144 |
| 145 #if defined(ENABLE_P2P_APIS) | |
|
brettw
2011/04/20 15:41:33
Please put ifdefed stuff at the bottom of the file
| |
| 145 // Enable Pepper and JavaScript P2P API. | 146 // Enable Pepper and JavaScript P2P API. |
| 146 const char kEnableP2PApi[] = "enable-p2papi"; | 147 const char kEnableP2PApi[] = "enable-p2papi"; |
| 148 #endif | |
| 147 | 149 |
| 148 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 150 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 149 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 151 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 150 | 152 |
| 151 // Cause the OS X sandbox write to syslog every time an access to a resource | 153 // Cause the OS X sandbox write to syslog every time an access to a resource |
| 152 // is denied by the sandbox. | 154 // is denied by the sandbox. |
| 153 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; | 155 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; |
| 154 | 156 |
| 155 // Enable the seccomp sandbox (Linux only) | 157 // Enable the seccomp sandbox (Linux only) |
| 156 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; | 158 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 395 | 397 |
| 396 // Causes the process to run as a renderer zygote. | 398 // Causes the process to run as a renderer zygote. |
| 397 const char kZygoteProcess[] = "zygote"; | 399 const char kZygoteProcess[] = "zygote"; |
| 398 | 400 |
| 399 #if !defined(OFFICIAL_BUILD) | 401 #if !defined(OFFICIAL_BUILD) |
| 400 // Causes the renderer process to throw an assertion on launch. | 402 // Causes the renderer process to throw an assertion on launch. |
| 401 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 403 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 402 #endif | 404 #endif |
| 403 | 405 |
| 404 } // namespace switches | 406 } // namespace switches |
| OLD | NEW |