OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 23 matching lines...) Expand all Loading... | |
34 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). | 34 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). |
35 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; | 35 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; |
36 | 36 |
37 // The same as kAuditHandles except all handles are enumerated. | 37 // The same as kAuditHandles except all handles are enumerated. |
38 const char kAuditAllHandles[] = "enable-handle-auditing-all"; | 38 const char kAuditAllHandles[] = "enable-handle-auditing-all"; |
39 | 39 |
40 // Enumerates and prints a child process' most dangerous handles when it | 40 // Enumerates and prints a child process' most dangerous handles when it |
41 // is terminated. | 41 // is terminated. |
42 const char kAuditHandles[] = "enable-handle-auditing"; | 42 const char kAuditHandles[] = "enable-handle-auditing"; |
43 | 43 |
44 // Prefer the namespace sandbox over the setuid sandbox when possible. | |
45 const char kEnableNamespaceSandbox[] = "enable-namespace-sandbox"; | |
jln (very slow on Chromium)
2015/02/06 02:17:03
Alphabetize (at the kEnableNamespaceSandbox level)
rickyz (no longer on Chrome)
2015/02/06 03:01:02
Done.
| |
46 | |
44 // Choose which logging channels in blink platform to activate. See | 47 // Choose which logging channels in blink platform to activate. See |
45 // Logging.cpp in blink's Source/platform for a list of available channels. | 48 // Logging.cpp in blink's Source/platform for a list of available channels. |
46 const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels"; | 49 const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels"; |
47 | 50 |
48 // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in | 51 // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in |
49 // subresources when a document is not supposed to read them. This will later | 52 // subresources when a document is not supposed to read them. This will later |
50 // allow us to block them from the entire renderer process when site isolation | 53 // allow us to block them from the entire renderer process when site isolation |
51 // is enabled. | 54 // is enabled. |
52 const char kBlockCrossSiteDocuments[] = "block-cross-site-documents"; | 55 const char kBlockCrossSiteDocuments[] = "block-cross-site-documents"; |
53 | 56 |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
958 const char kEnableNpapi[] = "enable-npapi"; | 961 const char kEnableNpapi[] = "enable-npapi"; |
959 | 962 |
960 #if defined(ENABLE_PLUGINS) | 963 #if defined(ENABLE_PLUGINS) |
961 // Enables the plugin power saver feature. | 964 // Enables the plugin power saver feature. |
962 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 965 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
963 #endif | 966 #endif |
964 | 967 |
965 // Don't dump stuff here, follow the same order as the header. | 968 // Don't dump stuff here, follow the same order as the header. |
966 | 969 |
967 } // namespace switches | 970 } // namespace switches |
OLD | NEW |