Index: chrome/browser/extensions/extension_service.cc |
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc |
index c08866d6bcc7749963cd65fe9a1f1fedde5f80d1..40367a2c6f3b7e3eec8b585d31be200fbd554ad9 100644 |
--- a/chrome/browser/extensions/extension_service.cc |
+++ b/chrome/browser/extensions/extension_service.cc |
@@ -559,29 +559,20 @@ void ExtensionService::Init() { |
} else { |
// TODO(mek): It might be cleaner to do the FinishDelayedInstallInfo stuff |
// here instead of in installedloader. |
- if (g_browser_process->profile_manager() && |
- g_browser_process->profile_manager()->will_import()) { |
- // Do not load any component extensions, since they may conflict with the |
- // import process. |
- |
- extensions::InstalledLoader(this).LoadAllExtensions(); |
- SetReadyAndNotifyListeners(); |
- RegisterForImportFinished(); |
asargent_no_longer_on_chrome
2013/06/19 18:32:23
I think we can get rid of this RegisterForImportFi
elijahtaylor1
2013/06/19 19:04:01
Great suggestion, I saw this notification and wasn
|
- } else { |
- // In this case, LoadAllExtensions() calls OnLoadedInstalledExtensions(). |
- component_loader_->LoadAll(); |
- extensions::InstalledLoader(this).LoadAllExtensions(); |
- SetReadyAndNotifyListeners(); |
- // TODO(erikkay) this should probably be deferred to a future point |
- // rather than running immediately at startup. |
- CheckForExternalUpdates(); |
+ // LoadAllExtensions() calls OnLoadedInstalledExtensions(). |
+ component_loader_->LoadAll(); |
+ extensions::InstalledLoader(this).LoadAllExtensions(); |
+ SetReadyAndNotifyListeners(); |
- base::MessageLoop::current()->PostDelayedTask( |
- FROM_HERE, |
- base::Bind(&ExtensionService::GarbageCollectExtensions, AsWeakPtr()), |
- base::TimeDelta::FromSeconds(kGarbageCollectStartupDelay)); |
- } |
+ // TODO(erikkay) this should probably be deferred to a future point |
+ // rather than running immediately at startup. |
+ CheckForExternalUpdates(); |
+ |
+ base::MessageLoop::current()->PostDelayedTask( |
+ FROM_HERE, |
+ base::Bind(&ExtensionService::GarbageCollectExtensions, AsWeakPtr()), |
+ base::TimeDelta::FromSeconds(kGarbageCollectStartupDelay)); |
if (extension_prefs_->NeedsStorageGarbageCollection()) { |
GarbageCollectIsolatedStorage(); |