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

Unified Diff: chrome/browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc

Issue 12315094: Remove kDefaultHostDesktopType from browser_finder.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix StartupBrowserCreatorTest.ProfilesWithoutPagesNotLaunched Created 7 years, 10 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
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc
diff --git a/chrome/browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc b/chrome/browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc
index b98a81972fe4be4beccdb9fbdd95dea62a9002c4..7374050b34549f8780c3c1493fa56d1b9cd56411 100644
--- a/chrome/browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc
+++ b/chrome/browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc
@@ -147,7 +147,8 @@ IN_PROC_BROWSER_TEST_F(AppNonClientFrameViewAshTest, ClickClose) {
content::Source<Browser>(app_browser()));
eg.ClickLeftButton();
signal.Wait();
- EXPECT_EQ(1u, chrome::GetBrowserCount(browser()->profile()));
+ EXPECT_EQ(1u, chrome::GetBrowserCount(browser()->profile(),
+ browser()->host_desktop_type()));
}
// Ensure that closing a maximized app with Ctrl-W does not crash the
@@ -157,7 +158,8 @@ IN_PROC_BROWSER_TEST_F(AppNonClientFrameViewAshTest, KeyboardClose) {
aura::test::EventGenerator eg(root_window);
// Base browser and app browser.
- EXPECT_EQ(2u, chrome::GetBrowserCount(browser()->profile()));
+ EXPECT_EQ(2u, chrome::GetBrowserCount(browser()->profile(),
+ browser()->host_desktop_type()));
// Send Control-W.
content::WindowedNotificationObserver signal(
@@ -168,7 +170,8 @@ IN_PROC_BROWSER_TEST_F(AppNonClientFrameViewAshTest, KeyboardClose) {
signal.Wait();
// App browser is closed.
- EXPECT_EQ(1u, chrome::GetBrowserCount(browser()->profile()));
+ EXPECT_EQ(1u, chrome::GetBrowserCount(browser()->profile(),
+ browser()->host_desktop_type()));
}
// Ensure that snapping left with Alt-[ closes the control window.
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698