| 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 #ifndef EXTENSIONS_COMMON_SWITCHES_H_ | 5 #ifndef EXTENSIONS_COMMON_SWITCHES_H_ |
| 6 #define EXTENSIONS_COMMON_SWITCHES_H_ | 6 #define EXTENSIONS_COMMON_SWITCHES_H_ |
| 7 | 7 |
| 8 // All switches in alphabetical order. The switches should be documented | 8 // All switches in alphabetical order. The switches should be documented |
| 9 // alongside the definition of their values in the .cc file. | 9 // alongside the definition of their values in the .cc file. |
| 10 namespace extensions { | 10 namespace extensions { |
| 11 | 11 |
| 12 namespace switches { | 12 namespace switches { |
| 13 | 13 |
| 14 extern const char kAllowHTTPBackgroundPage[]; | 14 extern const char kAllowHTTPBackgroundPage[]; |
| 15 extern const char kAllowLegacyExtensionManifests[]; | 15 extern const char kAllowLegacyExtensionManifests[]; |
| 16 extern const char kDisableDesktopCaptureAudio[]; | 16 extern const char kDisableDesktopCaptureAudio[]; |
| 17 extern const char kDisableTabForDesktopShare[]; | 17 extern const char kDisableTabForDesktopShare[]; |
| 18 extern const char kEmbeddedExtensionOptions[]; | 18 extern const char kEmbeddedExtensionOptions[]; |
| 19 extern const char kEnableEmbeddedExtensionOptions[]; | 19 extern const char kEnableEmbeddedExtensionOptions[]; |
| 20 extern const char kEnableExperimentalExtensionApis[]; | 20 extern const char kEnableExperimentalExtensionApis[]; |
| 21 extern const char kEnableOverrideBookmarksUI[]; | 21 extern const char kEnableOverrideBookmarksUI[]; |
| 22 extern const char kEnableBLEAdvertising[]; | 22 extern const char kEnableBLEAdvertising[]; |
| 23 extern const char kErrorConsole[]; | 23 extern const char kErrorConsole[]; |
| 24 extern const char kExtensionProcess[]; | 24 extern const char kExtensionProcess[]; |
| 25 extern const char kExtensionsOnChromeURLs[]; | 25 extern const char kExtensionsOnChromeURLs[]; |
| 26 extern const char kForceDevModeHighlighting[]; | 26 extern const char kForceDevModeHighlighting[]; |
| 27 extern const char kIsolateExtensions[]; | |
| 28 extern const char kLoadApps[]; | 27 extern const char kLoadApps[]; |
| 29 extern const char kScriptsRequireAction[]; | 28 extern const char kScriptsRequireAction[]; |
| 30 extern const char kEnableScriptsRequireAction[]; | 29 extern const char kEnableScriptsRequireAction[]; |
| 31 #if defined(CHROMIUM_BUILD) | 30 #if defined(CHROMIUM_BUILD) |
| 32 extern const char kPromptForExternalExtensions[]; | 31 extern const char kPromptForExternalExtensions[]; |
| 33 #endif | 32 #endif |
| 34 extern const char kShowComponentExtensionOptions[]; | 33 extern const char kShowComponentExtensionOptions[]; |
| 35 extern const char kTraceAppSource[]; | 34 extern const char kTraceAppSource[]; |
| 36 extern const char kNativeCrxBindings[]; | 35 extern const char kNativeCrxBindings[]; |
| 37 extern const char kWhitelistedExtensionID[]; | 36 extern const char kWhitelistedExtensionID[]; |
| 38 extern const char kEnableCrxHashCheck[]; | 37 extern const char kEnableCrxHashCheck[]; |
| 39 extern const char kYieldBetweenContentScriptRuns[]; | 38 extern const char kYieldBetweenContentScriptRuns[]; |
| 40 | 39 |
| 41 } // namespace switches | 40 } // namespace switches |
| 42 | 41 |
| 43 } // namespace extensions | 42 } // namespace extensions |
| 44 | 43 |
| 45 #endif // EXTENSIONS_COMMON_SWITCHES_H_ | 44 #endif // EXTENSIONS_COMMON_SWITCHES_H_ |
| OLD | NEW |