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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 // Load an NPAPI plugin from the specified path. | 304 // Load an NPAPI plugin from the specified path. |
305 const char kLoadPlugin[] = "load-plugin"; | 305 const char kLoadPlugin[] = "load-plugin"; |
306 | 306 |
307 // Sets the minimum log level. Valid values are from 0 to 3: | 307 // Sets the minimum log level. Valid values are from 0 to 3: |
308 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 308 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
309 const char kLoggingLevel[] = "log-level"; | 309 const char kLoggingLevel[] = "log-level"; |
310 | 310 |
311 // Make plugin processes log their sent and received messages to VLOG(1). | 311 // Make plugin processes log their sent and received messages to VLOG(1). |
312 const char kLogPluginMessages[] = "log-plugin-messages"; | 312 const char kLogPluginMessages[] = "log-plugin-messages"; |
313 | 313 |
314 // Uses low-latency IPC for audio. | 314 // Uses high-latency IPC for audio. |
315 // That is temporary until we make it default and remove old code path. | 315 // That is temporary until we are sure low latency works and remove old code. |
316 const char kLowLatencyAudio[] = "enable-low-latency-audio"; | 316 const char kHighLatencyAudio[] = "disable-low-latency-audio"; |
317 | 317 |
318 // Causes the process to run as a NativeClient broker | 318 // Causes the process to run as a NativeClient broker |
319 // (used for launching NaCl loader processes on 64-bit Windows). | 319 // (used for launching NaCl loader processes on 64-bit Windows). |
320 const char kNaClBrokerProcess[] = "nacl-broker"; | 320 const char kNaClBrokerProcess[] = "nacl-broker"; |
321 | 321 |
322 // Causes the process to run as a NativeClient loader. | 322 // Causes the process to run as a NativeClient loader. |
323 const char kNaClLoaderProcess[] = "nacl-loader"; | 323 const char kNaClLoaderProcess[] = "nacl-loader"; |
324 | 324 |
325 // By default, an https page can load images, fonts or frames from an http page. | 325 // By default, an https page can load images, fonts or frames from an http page. |
326 // This switch overrides this to block this lesser mixed-content problem. | 326 // This switch overrides this to block this lesser mixed-content problem. |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 // instead of NSS for SSL. | 501 // instead of NSS for SSL. |
502 const char kUseSystemSSL[] = "use-system-ssl"; | 502 const char kUseSystemSSL[] = "use-system-ssl"; |
503 #endif | 503 #endif |
504 | 504 |
505 #if !defined(OFFICIAL_BUILD) | 505 #if !defined(OFFICIAL_BUILD) |
506 // Causes the renderer process to throw an assertion on launch. | 506 // Causes the renderer process to throw an assertion on launch. |
507 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 507 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
508 #endif | 508 #endif |
509 | 509 |
510 } // namespace switches | 510 } // namespace switches |
OLD | NEW |