Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 20593003: Move kEnableExperimentalExtensionApis switch to extensions/common/switches.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 9c72a1342ffaf61a71f27815f3e0b4ef886fecca..1e4e0a3629579d87ee867c5fc71ac7605d1a4f13 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1434,6 +1434,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
autofill::switches::kEnableInteractiveAutocomplete,
extensions::switches::kAllowLegacyExtensionManifests,
extensions::switches::kAllowScriptingGallery,
+ extensions::switches::kEnableExperimentalExtensionApis,
extensions::switches::kExtensionsOnChromeURLs,
switches::kAllowHTTPBackgroundPage,
// TODO(victorhsieh): remove the following flag once we move PPAPI FileIO
@@ -1451,7 +1452,6 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
switches::kEnableAdviewSrcAttribute,
switches::kEnableAppWindowControls,
switches::kEnableBenchmarking,
- switches::kEnableExperimentalExtensionApis,
switches::kEnableIPCFuzzing,
switches::kEnableNaCl,
switches::kEnableNetBenchmarking,
@@ -1478,9 +1478,9 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
arraysize(kSwitchNames));
} else if (process_type == switches::kUtilityProcess) {
static const char* const kSwitchNames[] = {
+ extensions::switches::kEnableExperimentalExtensionApis,
extensions::switches::kExtensionsOnChromeURLs,
switches::kAllowHTTPBackgroundPage,
- switches::kEnableExperimentalExtensionApis,
switches::kWhitelistedExtensionID,
};

Powered by Google App Engine
This is Rietveld 408576698