| Index: chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc b/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
|
| index 77da246fb22ee529db8ca3e12477707d222ff4f6..bf3a31ffe6e1b5b2d933852fb4767e17a6e843d1 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
|
| @@ -76,28 +76,32 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, LastUsedProfileActivated) {
|
| Browser* new_browser = NULL;
|
|
|
| // The last used profile (the profile_2 in this case) must be active.
|
| - ASSERT_EQ(1u, chrome::GetBrowserCount(profile_2));
|
| + ASSERT_EQ(1u, chrome::GetBrowserCount(profile_2,
|
| + browser()->host_desktop_type()));
|
| new_browser = FindBrowserWithProfile(profile_2,
|
| - chrome::HOST_DESKTOP_TYPE_NATIVE);
|
| + browser()->host_desktop_type());
|
| ASSERT_TRUE(new_browser);
|
| EXPECT_TRUE(new_browser->window()->IsActive());
|
|
|
| // All other profiles browser should not be active.
|
| - ASSERT_EQ(1u, chrome::GetBrowserCount(profile_1));
|
| + ASSERT_EQ(1u, chrome::GetBrowserCount(profile_1,
|
| + browser()->host_desktop_type()));
|
| new_browser = FindBrowserWithProfile(profile_1,
|
| - chrome::HOST_DESKTOP_TYPE_NATIVE);
|
| + browser()->host_desktop_type());
|
| ASSERT_TRUE(new_browser);
|
| EXPECT_FALSE(new_browser->window()->IsActive());
|
|
|
| - ASSERT_EQ(1u, chrome::GetBrowserCount(profile_3));
|
| + ASSERT_EQ(1u, chrome::GetBrowserCount(profile_3,
|
| + browser()->host_desktop_type()));
|
| new_browser = FindBrowserWithProfile(profile_3,
|
| - chrome::HOST_DESKTOP_TYPE_NATIVE);
|
| + browser()->host_desktop_type());
|
| ASSERT_TRUE(new_browser);
|
| EXPECT_FALSE(new_browser->window()->IsActive());
|
|
|
| - ASSERT_EQ(1u, chrome::GetBrowserCount(profile_4));
|
| + ASSERT_EQ(1u, chrome::GetBrowserCount(profile_4,
|
| + browser()->host_desktop_type()));
|
| new_browser = FindBrowserWithProfile(profile_4,
|
| - chrome::HOST_DESKTOP_TYPE_NATIVE);
|
| + browser()->host_desktop_type());
|
| ASSERT_TRUE(new_browser);
|
| EXPECT_FALSE(new_browser->window()->IsActive());
|
|
|
|
|