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