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

Unified Diff: chrome/browser/ui/app_list/app_list_controller_browsertest.cc

Issue 1661713002: Remove the rest of HostDesktopType from c/b/ui/browser_finder.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-11
Patch Set: linux adl Created 4 years, 11 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/ui/app_list/app_list_controller_browsertest.cc
diff --git a/chrome/browser/ui/app_list/app_list_controller_browsertest.cc b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc
index cb6f2959752cdee45cfde76959f883fdf35ad0ae..a38ca7bfd1de09917ac26b8508b98e321545b6b2 100644
--- a/chrome/browser/ui/app_list/app_list_controller_browsertest.cc
+++ b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc
@@ -40,21 +40,20 @@ typedef InProcessBrowserTest AppListControllerBrowserTest;
// Test the CreateNewWindow function of the controller delegate.
IN_PROC_BROWSER_TEST_F(AppListControllerBrowserTest, CreateNewWindow) {
- const chrome::HostDesktopType desktop = chrome::GetActiveDesktop();
AppListService* service = test::GetAppListService();
AppListControllerDelegate* controller(service->GetControllerDelegate());
ASSERT_TRUE(controller);
- EXPECT_EQ(1U, chrome::GetBrowserCount(browser()->profile(), desktop));
+ EXPECT_EQ(1U, chrome::GetBrowserCount(browser()->profile()));
EXPECT_EQ(0U, chrome::GetBrowserCount(
- browser()->profile()->GetOffTheRecordProfile(), desktop));
+ browser()->profile()->GetOffTheRecordProfile()));
controller->CreateNewWindow(browser()->profile(), false);
- EXPECT_EQ(2U, chrome::GetBrowserCount(browser()->profile(), desktop));
+ EXPECT_EQ(2U, chrome::GetBrowserCount(browser()->profile()));
controller->CreateNewWindow(browser()->profile(), true);
EXPECT_EQ(1U, chrome::GetBrowserCount(
- browser()->profile()->GetOffTheRecordProfile(), desktop));
+ browser()->profile()->GetOffTheRecordProfile()));
}
// Browser Test for AppListController that observes search result changes.

Powered by Google App Engine
This is Rietveld 408576698