Index: chrome/browser/extensions/convert_web_app_browsertest.cc |
diff --git a/chrome/browser/extensions/convert_web_app_browsertest.cc b/chrome/browser/extensions/convert_web_app_browsertest.cc |
index 888cadef2e0d42dbc1dbfc6986f8c7f78214ebe2..955e49c19dc4fed8cebdf84e47254aec41a1c3a4 100644 |
--- a/chrome/browser/extensions/convert_web_app_browsertest.cc |
+++ b/chrome/browser/extensions/convert_web_app_browsertest.cc |
@@ -42,7 +42,7 @@ class ExtensionFromWebAppTest |
virtual void Observe(int type, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) OVERRIDE { |
- if (type == chrome::NOTIFICATION_EXTENSION_INSTALLED) { |
+ if (type == chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED) { |
const Extension* extension = |
content::Details<const InstalledExtensionInfo>(details)->extension; |
if (extension->id() == expected_extension_id_) { |
@@ -65,7 +65,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionFromWebAppTest, DISABLED_Basic) { |
false); |
content::NotificationRegistrar registrar; |
- registrar.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, |
+ registrar.Add(this, |
+ chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED, |
content::NotificationService::AllSources()); |
expected_extension_id_ = "ffnmbohohhobhkjpfbefbjifapgcmpaa"; |