| 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 |
| 11 // Notify the user and require consent for extensions running scripts. |
| 12 const char kActiveScriptEnforcement[] = "active-script-enforcement"; |
| 13 |
| 11 // Allows non-https URL for background_page for hosted apps. | 14 // Allows non-https URL for background_page for hosted apps. |
| 12 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; | 15 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; |
| 13 | 16 |
| 14 // Allows the browser to load extensions that lack a modern manifest when that | 17 // Allows the browser to load extensions that lack a modern manifest when that |
| 15 // would otherwise be forbidden. | 18 // would otherwise be forbidden. |
| 16 const char kAllowLegacyExtensionManifests[] = | 19 const char kAllowLegacyExtensionManifests[] = |
| 17 "allow-legacy-extension-manifests"; | 20 "allow-legacy-extension-manifests"; |
| 18 | 21 |
| 19 // Enables extension APIs that are in development. | 22 // Enables extension APIs that are in development. |
| 20 const char kEnableExperimentalExtensionApis[] = | 23 const char kEnableExperimentalExtensionApis[] = |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // Makes component extensions appear in chrome://settings/extensions. | 55 // Makes component extensions appear in chrome://settings/extensions. |
| 53 const char kShowComponentExtensionOptions[] = | 56 const char kShowComponentExtensionOptions[] = |
| 54 "show-component-extension-options"; | 57 "show-component-extension-options"; |
| 55 | 58 |
| 56 // Adds the given extension ID to all the permission whitelists. | 59 // Adds the given extension ID to all the permission whitelists. |
| 57 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 60 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
| 58 | 61 |
| 59 } // namespace switches | 62 } // namespace switches |
| 60 | 63 |
| 61 } // namespace extensions | 64 } // namespace extensions |
| OLD | NEW |