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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 | 461 |
462 #if defined(OS_WIN) | 462 #if defined(OS_WIN) |
463 // Enumerates and prints a child process' most dangerous handles when it | 463 // Enumerates and prints a child process' most dangerous handles when it |
464 // is terminated. | 464 // is terminated. |
465 const char kAuditHandles[] = "enable-handle-auditing"; | 465 const char kAuditHandles[] = "enable-handle-auditing"; |
466 | 466 |
467 // The same as kAuditHandles except all handles are enumerated. | 467 // The same as kAuditHandles except all handles are enumerated. |
468 const char kAuditAllHandles[] = "enable-handle-auditing-all"; | 468 const char kAuditAllHandles[] = "enable-handle-auditing-all"; |
469 #endif | 469 #endif |
470 | 470 |
471 #if defined(ENABLE_P2P_APIS) | |
472 // Enable Pepper and JavaScript P2P API. | |
473 const char kEnableP2PApi[] = "enable-p2papi"; | |
474 #endif | |
475 | |
476 #if !defined(OFFICIAL_BUILD) | 471 #if !defined(OFFICIAL_BUILD) |
477 // Causes the renderer process to throw an assertion on launch. | 472 // Causes the renderer process to throw an assertion on launch. |
478 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 473 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
479 #endif | 474 #endif |
480 | 475 |
481 } // namespace switches | 476 } // namespace switches |
OLD | NEW |