| 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/public/common/content_switches.h" | 5 #include "content/public/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. |
| 11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; | 11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; |
| 12 | 12 |
| 13 // Specifies comma-separated list of extension ids to grant access to TCP/UDP |
| 14 // socket APIs. |
| 15 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; |
| 16 |
| 13 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). | 17 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). |
| 14 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; | 18 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; |
| 15 | 19 |
| 16 // Enumerates and prints a child process' most dangerous handles when it | 20 // Enumerates and prints a child process' most dangerous handles when it |
| 17 // is terminated. | 21 // is terminated. |
| 18 const char kAuditHandles[] = "enable-handle-auditing"; | 22 const char kAuditHandles[] = "enable-handle-auditing"; |
| 19 | 23 |
| 20 // The same as kAuditHandles except all handles are enumerated. | 24 // The same as kAuditHandles except all handles are enumerated. |
| 21 const char kAuditAllHandles[] = "enable-handle-auditing-all"; | 25 const char kAuditAllHandles[] = "enable-handle-auditing-all"; |
| 22 | 26 |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 // instead of NSS for SSL. | 550 // instead of NSS for SSL. |
| 547 const char kUseSystemSSL[] = "use-system-ssl"; | 551 const char kUseSystemSSL[] = "use-system-ssl"; |
| 548 #endif | 552 #endif |
| 549 | 553 |
| 550 #if !defined(OFFICIAL_BUILD) | 554 #if !defined(OFFICIAL_BUILD) |
| 551 // Causes the renderer process to throw an assertion on launch. | 555 // Causes the renderer process to throw an assertion on launch. |
| 552 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 556 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 553 #endif | 557 #endif |
| 554 | 558 |
| 555 } // namespace switches | 559 } // namespace switches |
| OLD | NEW |