Index: chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
diff --git a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
index 1861cb92cade075dc77fb2bf011d9a81d2c564e7..04978c5b99ecd38d8321cad740954ad0f226166d 100644 |
--- a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
+++ b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
@@ -103,6 +103,7 @@ |
#include "crypto/rsa_private_key.h" |
#include "extensions/browser/extension_system.h" |
#include "extensions/browser/management_policy.h" |
+#include "extensions/browser/notification_types.h" |
#include "extensions/common/extension.h" |
#include "grit/chromium_strings.h" |
#include "grit/generated_resources.h" |
@@ -723,10 +724,10 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, ExtensionsUncached) { |
// Start listening for app/extension installation results. |
content::WindowedNotificationObserver hosted_app_observer( |
- chrome::NOTIFICATION_EXTENSION_WILL_BE_INSTALLED_DEPRECATED, |
+ extensions::NOTIFICATION_EXTENSION_WILL_BE_INSTALLED_DEPRECATED, |
base::Bind(DoesInstallSuccessReferToId, kHostedAppID)); |
content::WindowedNotificationObserver extension_observer( |
- chrome::NOTIFICATION_EXTENSION_INSTALL_ERROR, |
+ extensions::NOTIFICATION_EXTENSION_INSTALL_ERROR, |
base::Bind(DoesInstallFailureReferToId, kGoodExtensionID)); |
// Start login into the device-local account. |
@@ -824,10 +825,10 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, ExtensionsCached) { |
// Start listening for app/extension installation results. |
content::WindowedNotificationObserver hosted_app_observer( |
- chrome::NOTIFICATION_EXTENSION_WILL_BE_INSTALLED_DEPRECATED, |
+ extensions::NOTIFICATION_EXTENSION_WILL_BE_INSTALLED_DEPRECATED, |
base::Bind(DoesInstallSuccessReferToId, kHostedAppID)); |
content::WindowedNotificationObserver extension_observer( |
- chrome::NOTIFICATION_EXTENSION_INSTALL_ERROR, |
+ extensions::NOTIFICATION_EXTENSION_INSTALL_ERROR, |
base::Bind(DoesInstallFailureReferToId, kGoodExtensionID)); |
// Start login into the device-local account. |
@@ -1128,7 +1129,7 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, LastWindowClosedLogoutReminder) { |
installer->set_install_cause(extension_misc::INSTALL_CAUSE_USER_DOWNLOAD); |
installer->set_creation_flags(extensions::Extension::FROM_WEBSTORE); |
content::WindowedNotificationObserver app_install_observer( |
- chrome::NOTIFICATION_CRX_INSTALLER_DONE, |
+ extensions::NOTIFICATION_CRX_INSTALLER_DONE, |
content::NotificationService::AllSources()); |
base::FilePath test_dir; |
ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_dir)); |