| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 263 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
| 264 const char kLoggingLevel[] = "log-level"; | 264 const char kLoggingLevel[] = "log-level"; |
| 265 | 265 |
| 266 // Make plugin processes log their sent and received messages to VLOG(1). | 266 // Make plugin processes log their sent and received messages to VLOG(1). |
| 267 const char kLogPluginMessages[] = "log-plugin-messages"; | 267 const char kLogPluginMessages[] = "log-plugin-messages"; |
| 268 | 268 |
| 269 // Causes the process to run as a NativeClient broker | 269 // Causes the process to run as a NativeClient broker |
| 270 // (used for launching NaCl loader processes on 64-bit Windows). | 270 // (used for launching NaCl loader processes on 64-bit Windows). |
| 271 const char kNaClBrokerProcess[] = "nacl-broker"; | 271 const char kNaClBrokerProcess[] = "nacl-broker"; |
| 272 | 272 |
| 273 // Enables experimental lightweight Native Client launcher for Linux |
| 274 // Value is the path to the helper binary. |
| 275 const char kNaClLinuxHelper[] = "nacl-linux-helper"; |
| 276 |
| 273 // Causes the process to run as a NativeClient loader. | 277 // Causes the process to run as a NativeClient loader. |
| 274 const char kNaClLoaderProcess[] = "nacl-loader"; | 278 const char kNaClLoaderProcess[] = "nacl-loader"; |
| 275 | 279 |
| 276 // By default, an https page can load images, fonts or frames from an http page. | 280 // By default, an https page can load images, fonts or frames from an http page. |
| 277 // This switch overrides this to block this lesser mixed-content problem. | 281 // This switch overrides this to block this lesser mixed-content problem. |
| 278 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; | 282 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; |
| 279 | 283 |
| 280 // Support a separate switch that enables the v8 playback extension. | 284 // Support a separate switch that enables the v8 playback extension. |
| 281 // The extension causes javascript calls to Date.now() and Math.random() | 285 // The extension causes javascript calls to Date.now() and Math.random() |
| 282 // to return consistent values, such that subsequent loads of the same | 286 // to return consistent values, such that subsequent loads of the same |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 // Enable Pepper and JavaScript P2P API. | 463 // Enable Pepper and JavaScript P2P API. |
| 460 const char kEnableP2PApi[] = "enable-p2papi"; | 464 const char kEnableP2PApi[] = "enable-p2papi"; |
| 461 #endif | 465 #endif |
| 462 | 466 |
| 463 #if !defined(OFFICIAL_BUILD) | 467 #if !defined(OFFICIAL_BUILD) |
| 464 // Causes the renderer process to throw an assertion on launch. | 468 // Causes the renderer process to throw an assertion on launch. |
| 465 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 469 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 466 #endif | 470 #endif |
| 467 | 471 |
| 468 } // namespace switches | 472 } // namespace switches |
| OLD | NEW |