Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6540)

Unified Diff: chrome/browser/extensions/app_notification_browsertest.cc

Issue 10409023: Remove extension application launch code from Browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Browser stuff removed; compiles Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 bb833ab44d51843ba4146a76ff114b912454042a..02e2d554c1b8c7ecea4715d57c1b7a9aac8f50bb 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);
+ ApplicationLaunch::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());

Powered by Google App Engine
This is Rietveld 408576698