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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 263 // Load an NPAPI plugin from the specified path. | 263 // Load an NPAPI plugin from the specified path. |
| 264 const char kLoadPlugin[] = "load-plugin"; | 264 const char kLoadPlugin[] = "load-plugin"; |
| 265 | 265 |
| 266 // Sets the minimum log level. Valid values are from 0 to 3: | 266 // Sets the minimum log level. Valid values are from 0 to 3: |
| 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 // Uses low-latency IPC for audio. | |
| 274 // That is temporary till we make it default and remove old code path. | |
|
scherkus (not reviewing)
2011/06/24 21:09:26
s/till/until/
enal1
2011/06/24 22:01:09
Done.
| |
| 275 const char kLowLatencyAudio[] = "enable-low-latency-audio"; | |
| 276 | |
| 273 // Causes the process to run as a NativeClient broker | 277 // Causes the process to run as a NativeClient broker |
| 274 // (used for launching NaCl loader processes on 64-bit Windows). | 278 // (used for launching NaCl loader processes on 64-bit Windows). |
| 275 const char kNaClBrokerProcess[] = "nacl-broker"; | 279 const char kNaClBrokerProcess[] = "nacl-broker"; |
| 276 | 280 |
| 277 // Causes the process to run as a NativeClient loader. | 281 // Causes the process to run as a NativeClient loader. |
| 278 const char kNaClLoaderProcess[] = "nacl-loader"; | 282 const char kNaClLoaderProcess[] = "nacl-loader"; |
| 279 | 283 |
| 280 // By default, an https page can load images, fonts or frames from an http page. | 284 // By default, an https page can load images, fonts or frames from an http page. |
| 281 // This switch overrides this to block this lesser mixed-content problem. | 285 // This switch overrides this to block this lesser mixed-content problem. |
| 282 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; | 286 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 463 // Enable Pepper and JavaScript P2P API. | 467 // Enable Pepper and JavaScript P2P API. |
| 464 const char kEnableP2PApi[] = "enable-p2papi"; | 468 const char kEnableP2PApi[] = "enable-p2papi"; |
| 465 #endif | 469 #endif |
| 466 | 470 |
| 467 #if !defined(OFFICIAL_BUILD) | 471 #if !defined(OFFICIAL_BUILD) |
| 468 // Causes the renderer process to throw an assertion on launch. | 472 // Causes the renderer process to throw an assertion on launch. |
| 469 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 473 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 470 #endif | 474 #endif |
| 471 | 475 |
| 472 } // namespace switches | 476 } // namespace switches |
| OLD | NEW |