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 29 matching lines...) Expand all Loading... | |
40 | 40 |
41 // Allows the browser to load extensions that lack a modern manifest when that | 41 // Allows the browser to load extensions that lack a modern manifest when that |
42 // would otherwise be forbidden. | 42 // would otherwise be forbidden. |
43 const char kAllowLegacyExtensionManifests[] = | 43 const char kAllowLegacyExtensionManifests[] = |
44 "allow-legacy-extension-manifests"; | 44 "allow-legacy-extension-manifests"; |
45 | 45 |
46 // Specifies comma-separated list of extension ids or hosts to grant | 46 // Specifies comma-separated list of extension ids or hosts to grant |
47 // access to TCP/UDP socket APIs. | 47 // access to TCP/UDP socket APIs. |
48 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; | 48 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; |
49 | 49 |
50 // Specifies comma-separated list of extension ids or hosts to grant | |
51 // access to CRX file system APIs. | |
52 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; | |
yzshen1
2013/05/22 18:14:23
alphabetically, please.
victorhsieh
2013/05/22 19:47:33
Done.
| |
53 | |
50 // Don't block outdated plugins. | 54 // Don't block outdated plugins. |
51 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; | 55 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; |
52 | 56 |
53 // By default, an https page cannot run JavaScript, CSS or plug-ins from http | 57 // By default, an https page cannot run JavaScript, CSS or plug-ins from http |
54 // URLs. This provides an override to get the old insecure behavior. | 58 // URLs. This provides an override to get the old insecure behavior. |
55 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; | 59 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; |
56 | 60 |
57 // Allows injecting extensions and user scripts on the extensions gallery | 61 // Allows injecting extensions and user scripts on the extensions gallery |
58 // site. Normally prevented for security reasons, but can be useful for | 62 // site. Normally prevented for security reasons, but can be useful for |
59 // automation testing of the gallery. | 63 // automation testing of the gallery. |
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1582 | 1586 |
1583 // ----------------------------------------------------------------------------- | 1587 // ----------------------------------------------------------------------------- |
1584 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1588 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1585 // | 1589 // |
1586 // You were going to just dump your switches here, weren't you? Instead, please | 1590 // You were going to just dump your switches here, weren't you? Instead, please |
1587 // put them in alphabetical order above, or in order inside the appropriate | 1591 // put them in alphabetical order above, or in order inside the appropriate |
1588 // ifdef at the bottom. The order should match the header. | 1592 // ifdef at the bottom. The order should match the header. |
1589 // ----------------------------------------------------------------------------- | 1593 // ----------------------------------------------------------------------------- |
1590 | 1594 |
1591 } // namespace switches | 1595 } // namespace switches |
OLD | NEW |