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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 26 matching lines...) Expand all Loading... |
37 const char kAllowLegacyExtensionManifests[] = | 37 const char kAllowLegacyExtensionManifests[] = |
38 "allow-legacy-extension-manifests"; | 38 "allow-legacy-extension-manifests"; |
39 | 39 |
40 // Specifies comma-separated list of extension ids or hosts to grant | 40 // Specifies comma-separated list of extension ids or hosts to grant |
41 // access to TCP/UDP socket APIs. | 41 // access to TCP/UDP socket APIs. |
42 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; | 42 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; |
43 | 43 |
44 // Don't block outdated plugins. | 44 // Don't block outdated plugins. |
45 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; | 45 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; |
46 | 46 |
47 // Specifies command-separated list of extension ids or hosts to grant | |
48 // access to RequestOSFileHandle private API. | |
49 const char kAllowRequestOSFileHandleAPI[] = | |
50 "allow-request-os-file-handle-api"; | |
51 | |
52 // By default, an https page cannot run JavaScript, CSS or plug-ins from http | 47 // By default, an https page cannot run JavaScript, CSS or plug-ins from http |
53 // URLs. This provides an override to get the old insecure behavior. | 48 // URLs. This provides an override to get the old insecure behavior. |
54 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; | 49 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; |
55 | 50 |
56 // Allows injecting extensions and user scripts on the extensions gallery | 51 // Allows injecting extensions and user scripts on the extensions gallery |
57 // site. Normally prevented for security reasons, but can be useful for | 52 // site. Normally prevented for security reasons, but can be useful for |
58 // automation testing of the gallery. | 53 // automation testing of the gallery. |
59 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; | 54 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; |
60 | 55 |
61 // Prevents Chrome from requiring authorization to run certain widely installed | 56 // Prevents Chrome from requiring authorization to run certain widely installed |
(...skipping 1631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1693 | 1688 |
1694 // ----------------------------------------------------------------------------- | 1689 // ----------------------------------------------------------------------------- |
1695 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1690 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1696 // | 1691 // |
1697 // You were going to just dump your switches here, weren't you? Instead, please | 1692 // You were going to just dump your switches here, weren't you? Instead, please |
1698 // put them in alphabetical order above, or in order inside the appropriate | 1693 // put them in alphabetical order above, or in order inside the appropriate |
1699 // ifdef at the bottom. The order should match the header. | 1694 // ifdef at the bottom. The order should match the header. |
1700 // ----------------------------------------------------------------------------- | 1695 // ----------------------------------------------------------------------------- |
1701 | 1696 |
1702 } // namespace switches | 1697 } // namespace switches |
OLD | NEW |