summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/extensions_service.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc
index 3fb4a91..169f15f 100644
--- a/chrome/browser/extensions/extensions_service.cc
+++ b/chrome/browser/extensions/extensions_service.cc
@@ -530,21 +530,6 @@ void ExtensionsService::LoadComponentExtensions() {
return;
}
- // In order for the --apps-gallery-url switch to work with the gallery
- // process isolation, we must insert any provided value into the component
- // app's launch url and web extent.
- if (extension->id() == extension_misc::kWebStoreAppId ) {
- GURL gallery_url(CommandLine::ForCurrentProcess()
- ->GetSwitchValueASCII(switches::kAppsGalleryURL));
- if (gallery_url.is_valid()) {
- extension->set_launch_web_url(gallery_url.spec());
- URLPattern pattern(URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS);
- pattern.Parse(gallery_url.spec());
- pattern.set_path(pattern.path() + '*');
- extension->web_extent().AddPattern(pattern);
- }
- }
-
OnExtensionLoaded(extension.release(), false); // Don't allow privilege
// increase.
}