Index: chrome/browser/extensions/app_notification_browsertest.cc |
diff --git a/chrome/browser/extensions/app_notification_browsertest.cc b/chrome/browser/extensions/app_notification_browsertest.cc |
index 87d4feca2425b4b26f3defda66647892649395b7..639b1555a531668c1ccd2de8c99c21788774c0f1 100644 |
--- a/chrome/browser/extensions/app_notification_browsertest.cc |
+++ b/chrome/browser/extensions/app_notification_browsertest.cc |
@@ -8,6 +8,7 @@ |
#include "chrome/browser/extensions/extension_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/extensions/application_launch.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/extensions/extension.h" |
#include "chrome/test/base/ui_test_utils.h" |
@@ -58,11 +59,11 @@ IN_PROC_BROWSER_TEST_F(AppNotificationTest, SaveClientId) { |
LoadExtension(test_data_dir_.AppendASCII("app_notifications")); |
ASSERT_TRUE(app != NULL); |
- Browser::OpenApplication(browser()->profile(), |
- app, |
- extension_misc::LAUNCH_TAB, |
- GURL(), |
- NEW_FOREGROUND_TAB); |
+ application_launch::OpenApplication(browser()->profile(), |
+ app, |
+ extension_misc::LAUNCH_TAB, |
+ GURL(), |
+ NEW_FOREGROUND_TAB); |
if (!interceptor.was_called()) |
ui_test_utils::RunMessageLoop(); |
EXPECT_TRUE(interceptor.was_called()); |