| 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 ba3f684bab013d4b2b0818ec14f8551550b27135..7887026045e43aa870538a8a99d5ae28b30accf5 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"
|
| @@ -1387,12 +1388,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,
|
| @@ -1411,7 +1413,6 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
| switches::kEnablePasswordGeneration,
|
| switches::kEnablePnacl,
|
| switches::kEnableWatchdog,
|
| - switches::kExtensionsOnChromeURLs,
|
| switches::kMemoryProfiling,
|
| switches::kMessageLoopHistogrammer,
|
| switches::kNoJsRandomness,
|
| @@ -1433,9 +1434,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,
|
| };
|
|
|
|
|