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 #include "base/command_line.h" | |
|
jam
2011/06/09 21:44:29
ditto
Cris Neckar
2011/06/09 22:17:16
Done.
| |
| 8 | |
| 7 namespace switches { | 9 namespace switches { |
| 8 | 10 |
| 9 // By default, file:// URIs cannot read other file:// URIs. This is an | 11 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 12 // override for developers who need the old behavior for testing. |
| 11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; | 13 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; |
| 12 | 14 |
| 13 // By default, an https page cannot run JavaScript, CSS or plug-ins from http | 15 // By default, an https page cannot run JavaScript, CSS or plug-ins from http |
| 14 // URLs. This provides an override to get the old insecure behavior. | 16 // URLs. This provides an override to get the old insecure behavior. |
| 15 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; | 17 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; |
| 16 | 18 |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 400 | 402 |
| 401 // Causes the process to run as a worker subprocess. | 403 // Causes the process to run as a worker subprocess. |
| 402 const char kWorkerProcess[] = "worker"; | 404 const char kWorkerProcess[] = "worker"; |
| 403 | 405 |
| 404 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 406 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 405 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 407 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 406 | 408 |
| 407 // Causes the process to run as a renderer zygote. | 409 // Causes the process to run as a renderer zygote. |
| 408 const char kZygoteProcess[] = "zygote"; | 410 const char kZygoteProcess[] = "zygote"; |
| 409 | 411 |
| 412 #if defined(OS_WIN) | |
| 413 // Enumerates and prints a child process' most dangerous handles when it | |
| 414 // is terminated. | |
| 415 const char kAuditHandles[] = "enable-handle-auditing"; | |
| 416 | |
| 417 // The same as kAuditHandles except all handles are enumerated. | |
| 418 const char kAuditAllHandles[] = "enable-handle-auditing-all"; | |
| 419 #endif | |
| 420 | |
| 410 #if defined(ENABLE_P2P_APIS) | 421 #if defined(ENABLE_P2P_APIS) |
| 411 // Enable Pepper and JavaScript P2P API. | 422 // Enable Pepper and JavaScript P2P API. |
| 412 const char kEnableP2PApi[] = "enable-p2papi"; | 423 const char kEnableP2PApi[] = "enable-p2papi"; |
| 413 #endif | 424 #endif |
| 414 | 425 |
| 415 #if !defined(OFFICIAL_BUILD) | 426 #if !defined(OFFICIAL_BUILD) |
| 416 // Causes the renderer process to throw an assertion on launch. | 427 // Causes the renderer process to throw an assertion on launch. |
| 417 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 428 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 418 #endif | 429 #endif |
| 419 | 430 |
| 420 } // namespace switches | 431 } // namespace switches |
| OLD | NEW |