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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 19678004: Move UserScript and Extension switches to top-level extensions/. (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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/download/download_crx_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c6f2704385bafbeab3401617a3349fd46aa16983..8aa4767941ed7697820bc4b19339b16019e023bc 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -125,6 +125,7 @@
#include "content/public/common/content_descriptors.h"
#include "extensions/browser/view_type_utils.h"
#include "extensions/common/constants.h"
+#include "extensions/common/switches.h"
#include "grit/generated_resources.h"
#include "grit/ui_resources.h"
#include "net/base/escape.h"
@@ -1385,12 +1386,13 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
autofill::switches::kDisableInteractiveAutocomplete,
autofill::switches::kEnableExperimentalFormFilling,
autofill::switches::kEnableInteractiveAutocomplete,
+ extensions::switches::kAllowLegacyExtensionManifests,
+ extensions::switches::kAllowScriptingGallery,
+ extensions::switches::kExtensionsOnChromeURLs,
switches::kAllowHTTPBackgroundPage,
- switches::kAllowLegacyExtensionManifests,
// TODO(victorhsieh): remove the following flag once we move PPAPI FileIO
// to browser.
switches::kAllowNaClFileHandleAPI,
- switches::kAllowScriptingGallery,
switches::kAppsCheckoutURL,
switches::kAppsGalleryURL,
switches::kCloudPrintServiceURL,
@@ -1409,7 +1411,6 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
switches::kEnablePasswordGeneration,
switches::kEnablePnacl,
switches::kEnableWatchdog,
- switches::kExtensionsOnChromeURLs,
switches::kMemoryProfiling,
switches::kMessageLoopHistogrammer,
switches::kNoJsRandomness,
@@ -1431,9 +1432,9 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
arraysize(kSwitchNames));
} else if (process_type == switches::kUtilityProcess) {
static const char* const kSwitchNames[] = {
+ extensions::switches::kExtensionsOnChromeURLs,
switches::kAllowHTTPBackgroundPage,
switches::kEnableExperimentalExtensionApis,
- switches::kExtensionsOnChromeURLs,
switches::kWhitelistedExtensionID,
};
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/download/download_crx_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698