OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "extensions/common/switches.h" | 5 #include "extensions/common/switches.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 const char kExtensionProcess[] = "extension-process"; | 49 const char kExtensionProcess[] = "extension-process"; |
50 | 50 |
51 // Enables extensions running scripts on chrome:// URLs. | 51 // Enables extensions running scripts on chrome:// URLs. |
52 // Extensions still need to explicitly request access to chrome:// URLs in the | 52 // Extensions still need to explicitly request access to chrome:// URLs in the |
53 // manifest. | 53 // manifest. |
54 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 54 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
55 | 55 |
56 // Whether to force developer mode extensions highlighting. | 56 // Whether to force developer mode extensions highlighting. |
57 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; | 57 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; |
58 | 58 |
59 // Enables site isolation for all chrome-extension:// urls. | |
60 const char kIsolateExtensions[] = "isolate-extensions"; | |
61 | |
62 // Path to a comma-separated list of apps to load at startup. The first app in | 59 // Path to a comma-separated list of apps to load at startup. The first app in |
63 // the list will be launched. | 60 // the list will be launched. |
64 const char kLoadApps[] = "load-apps"; | 61 const char kLoadApps[] = "load-apps"; |
65 | 62 |
66 // Notify the user and require consent for extensions running scripts. | 63 // Notify the user and require consent for extensions running scripts. |
67 // Appending --scripts-require-action=1 has the same effect as | 64 // Appending --scripts-require-action=1 has the same effect as |
68 // --enable-scripts-require-action (see below). | 65 // --enable-scripts-require-action (see below). |
69 const char kScriptsRequireAction[] = "scripts-require-action"; | 66 const char kScriptsRequireAction[] = "scripts-require-action"; |
70 // FeatureSwitch and about_flags don't play nice. Feature switch expects either | 67 // FeatureSwitch and about_flags don't play nice. Feature switch expects either |
71 // --enable-<feature> or --<feature>=1, but about_flags expects the command | 68 // --enable-<feature> or --<feature>=1, but about_flags expects the command |
(...skipping 25 matching lines...) Expand all Loading... |
97 // the one received from update manifest. | 94 // the one received from update manifest. |
98 const char kEnableCrxHashCheck[] = "enable-crx-hash-check"; | 95 const char kEnableCrxHashCheck[] = "enable-crx-hash-check"; |
99 | 96 |
100 // Whether to split content script injections into multiple tasks. | 97 // Whether to split content script injections into multiple tasks. |
101 const char kYieldBetweenContentScriptRuns[] = | 98 const char kYieldBetweenContentScriptRuns[] = |
102 "yield-between-content-script-runs"; | 99 "yield-between-content-script-runs"; |
103 | 100 |
104 } // namespace switches | 101 } // namespace switches |
105 | 102 |
106 } // namespace extensions | 103 } // namespace extensions |
OLD | NEW |