Index: chrome/browser/extensions/extension_system_impl.cc |
diff --git a/chrome/browser/extensions/extension_system_impl.cc b/chrome/browser/extensions/extension_system_impl.cc |
index 7ad271fb3f43013de9764883fb31efe972d087de..d3a67ae70de60db795d4c5e6f6e9cf2ae7475d4e 100644 |
--- a/chrome/browser/extensions/extension_system_impl.cc |
+++ b/chrome/browser/extensions/extension_system_impl.cc |
@@ -262,25 +262,6 @@ void ExtensionSystemImpl::Shared::Init(bool extensions_enabled) { |
content::URLDataSource::Add(profile_, new ExtensionIconSource(profile_)); |
quota_service_.reset(new QuotaService); |
- |
- if (extensions_enabled) { |
- // Load any extensions specified with --load-extension. |
- // TODO(yoz): Seems like this should move into ExtensionService::Init. |
- // But maybe it's no longer important. |
- if (command_line->HasSwitch(switches::kLoadExtension)) { |
- base::CommandLine::StringType path_list = |
- command_line->GetSwitchValueNative(switches::kLoadExtension); |
- base::StringTokenizerT<base::CommandLine::StringType, |
- base::CommandLine::StringType::const_iterator> |
- t(path_list, FILE_PATH_LITERAL(",")); |
- while (t.GetNext()) { |
- std::string extension_id; |
- UnpackedInstaller::Create(extension_service_.get()) |
- ->LoadFromCommandLine(base::FilePath(t.token()), &extension_id, |
- false /* only_allow_apps */); |
- } |
- } |
- } |
} |
void ExtensionSystemImpl::Shared::Shutdown() { |