| 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 | 400 |
| 401 // Causes the process to run as a worker subprocess. | 401 // Causes the process to run as a worker subprocess. |
| 402 const char kWorkerProcess[] = "worker"; | 402 const char kWorkerProcess[] = "worker"; |
| 403 | 403 |
| 404 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 404 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 405 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 405 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 406 | 406 |
| 407 // Causes the process to run as a renderer zygote. | 407 // Causes the process to run as a renderer zygote. |
| 408 const char kZygoteProcess[] = "zygote"; | 408 const char kZygoteProcess[] = "zygote"; |
| 409 | 409 |
| 410 #if defined(OS_WIN) |
| 411 // Enumerates and prints a child process' most dangerous handles when it |
| 412 // is terminated. |
| 413 const char kAuditHandles[] = "enable-handle-auditing"; |
| 414 |
| 415 // The same as kAuditHandles except all handles are enumerated. |
| 416 const char kAuditAllHandles[] = "enable-handle-auditing-all"; |
| 417 #endif |
| 418 |
| 410 #if defined(ENABLE_P2P_APIS) | 419 #if defined(ENABLE_P2P_APIS) |
| 411 // Enable Pepper and JavaScript P2P API. | 420 // Enable Pepper and JavaScript P2P API. |
| 412 const char kEnableP2PApi[] = "enable-p2papi"; | 421 const char kEnableP2PApi[] = "enable-p2papi"; |
| 413 #endif | 422 #endif |
| 414 | 423 |
| 415 #if !defined(OFFICIAL_BUILD) | 424 #if !defined(OFFICIAL_BUILD) |
| 416 // Causes the renderer process to throw an assertion on launch. | 425 // Causes the renderer process to throw an assertion on launch. |
| 417 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 426 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 418 #endif | 427 #endif |
| 419 | 428 |
| 420 } // namespace switches | 429 } // namespace switches |
| OLD | NEW |