| Index: apps/app_load_service.cc
|
| diff --git a/apps/app_load_service.cc b/apps/app_load_service.cc
|
| index c4d308ecccb3e8baf155d63d09157da8c054372c..eb4b5c6b1c5e7231fe7bd59986da09a0b808b3c0 100644
|
| --- a/apps/app_load_service.cc
|
| +++ b/apps/app_load_service.cc
|
| @@ -35,7 +35,7 @@ AppLoadService::PostReloadAction::PostReloadAction()
|
| AppLoadService::AppLoadService(Profile* profile)
|
| : profile_(profile) {
|
| registrar_.Add(this,
|
| - extensions::NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING,
|
| + extensions::NOTIFICATION_EXTENSION_HOST_DID_STOP_FIRST_LOAD,
|
| content::NotificationService::AllSources());
|
| extensions::ExtensionRegistry::Get(profile_)->AddObserver(this);
|
| }
|
| @@ -93,7 +93,7 @@ AppLoadService* AppLoadService::Get(Profile* profile) {
|
| void AppLoadService::Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| - DCHECK_EQ(type, extensions::NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING);
|
| + DCHECK_EQ(type, extensions::NOTIFICATION_EXTENSION_HOST_DID_STOP_FIRST_LOAD);
|
| extensions::ExtensionHost* host =
|
| content::Details<extensions::ExtensionHost>(details).ptr();
|
| const Extension* extension = host->extension();
|
|
|