diff options
Diffstat (limited to 'chrome/browser/extensions/extensions_service.cc')
-rw-r--r-- | chrome/browser/extensions/extensions_service.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc index 07c6fba..a9f81ca 100644 --- a/chrome/browser/extensions/extensions_service.cc +++ b/chrome/browser/extensions/extensions_service.cc @@ -219,7 +219,8 @@ ExtensionsService::ExtensionsService(Profile* profile, extensions_enabled_( CommandLine::ForCurrentProcess()-> HasSwitch(switches::kEnableExtensions)), - show_extensions_prompts_(true) { + show_extensions_prompts_(true), + ready_(false) { // We pass ownership of this object to the Backend. DictionaryValue* extensions = extension_prefs_->CopyCurrentExtensions(); backend_ = new ExtensionsServiceBackend( @@ -343,6 +344,7 @@ void ExtensionsService::GarbageCollectExtensions() { } void ExtensionsService::OnLoadedInstalledExtensions() { + ready_ = true; NotificationService::current()->Notify( NotificationType::EXTENSIONS_READY, Source<ExtensionsService>(this), |