Index: chrome/browser/extensions/extension_test_notification_observer.cc |
diff --git a/chrome/browser/extensions/extension_test_notification_observer.cc b/chrome/browser/extensions/extension_test_notification_observer.cc |
index 9844642bb55fcf89e215303af0b3d01a79d2625c..c4e3631c7180e27ab76590f208ba81472ed25a25 100644 |
--- a/chrome/browser/extensions/extension_test_notification_observer.cc |
+++ b/chrome/browser/extensions/extension_test_notification_observer.cc |
@@ -185,7 +185,7 @@ bool ExtensionTestNotificationObserver::WaitForExtensionViewsToLoad() { |
bool ExtensionTestNotificationObserver::WaitForExtensionInstall() { |
int before = extension_installs_observed_; |
- WaitForNotification(chrome::NOTIFICATION_EXTENSION_INSTALLED); |
+ WaitForNotification(chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED); |
return extension_installs_observed_ == (before + 1); |
} |
@@ -272,7 +272,7 @@ void ExtensionTestNotificationObserver::Observe( |
++crx_installers_done_observed_; |
break; |
- case chrome::NOTIFICATION_EXTENSION_INSTALLED: |
+ case chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED: |
VLOG(1) << "Got EXTENSION_INSTALLED notification."; |
++extension_installs_observed_; |
break; |