| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // Extra command line options for launching the GPU process (normally used | 89 // Extra command line options for launching the GPU process (normally used |
| 90 // for debugging). Use like renderer-cmd-prefix. | 90 // for debugging). Use like renderer-cmd-prefix. |
| 91 const char kGpuLauncher[] = "gpu-launcher"; | 91 const char kGpuLauncher[] = "gpu-launcher"; |
| 92 | 92 |
| 93 // Makes this process a GPU sub-process. | 93 // Makes this process a GPU sub-process. |
| 94 const char kGpuProcess[] = "gpu-process"; | 94 const char kGpuProcess[] = "gpu-process"; |
| 95 | 95 |
| 96 // Causes the GPU process to display a dialog on launch. | 96 // Causes the GPU process to display a dialog on launch. |
| 97 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 97 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
| 98 | 98 |
| 99 // Use LevelDB as back-end for Indexed Database API. |
| 100 const char kLevelDBIndexedDatabase[] = "indexeddb-use-leveldb"; |
| 101 |
| 99 // Load an NPAPI plugin from the specified path. | 102 // Load an NPAPI plugin from the specified path. |
| 100 const char kLoadPlugin[] = "load-plugin"; | 103 const char kLoadPlugin[] = "load-plugin"; |
| 101 | 104 |
| 102 // Sets the minimum log level. Valid values are from 0 to 3: | 105 // Sets the minimum log level. Valid values are from 0 to 3: |
| 103 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 106 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
| 104 const char kLoggingLevel[] = "log-level"; | 107 const char kLoggingLevel[] = "log-level"; |
| 105 | 108 |
| 106 // Make plugin processes log their sent and received messages to VLOG(1). | 109 // Make plugin processes log their sent and received messages to VLOG(1). |
| 107 const char kLogPluginMessages[] = "log-plugin-messages"; | 110 const char kLogPluginMessages[] = "log-plugin-messages"; |
| 108 | 111 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 222 |
| 220 // Causes the process to run as a worker subprocess. | 223 // Causes the process to run as a worker subprocess. |
| 221 const char kWorkerProcess[] = "worker"; | 224 const char kWorkerProcess[] = "worker"; |
| 222 | 225 |
| 223 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 226 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 224 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 227 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 225 | 228 |
| 226 // Causes the process to run as a renderer zygote. | 229 // Causes the process to run as a renderer zygote. |
| 227 const char kZygoteProcess[] = "zygote"; | 230 const char kZygoteProcess[] = "zygote"; |
| 228 } // namespace switches | 231 } // namespace switches |
| OLD | NEW |