Index: chrome/browser/profiles/profile_list_desktop_browsertest.cc |
diff --git a/chrome/browser/profiles/profile_list_desktop_browsertest.cc b/chrome/browser/profiles/profile_list_desktop_browsertest.cc |
index 1b19e71a26851cb6fee8a52cef242ca372040799..15aaebcadf76d5ea2ef4b869b4753962a5293a5f 100644 |
--- a/chrome/browser/profiles/profile_list_desktop_browsertest.cc |
+++ b/chrome/browser/profiles/profile_list_desktop_browsertest.cc |
@@ -116,16 +116,22 @@ IN_PROC_BROWSER_TEST_F(ProfileListDesktopBrowserTest, SwitchToProfile) { |
EXPECT_EQ(path_profile1, browser_list->get(0)->profile()->GetPath()); |
// Open a browser window for the first profile. |
- menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), false); |
+ menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), |
+ false, |
+ ProfileMetrics::SWITCH_PROFILE_ICON); |
msw
2014/01/29 17:51:58
optional nit: you could wrap this onto the line ab
bcwhite
2014/01/29 19:50:52
Done.
|
EXPECT_EQ(1U, browser_list->size()); |
EXPECT_EQ(path_profile1, browser_list->get(0)->profile()->GetPath()); |
// Open a browser window for the second profile. |
- menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile2), false); |
+ menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile2), |
+ false, |
+ ProfileMetrics::SWITCH_PROFILE_ICON); |
EXPECT_EQ(2U, browser_list->size()); |
// Switch to the first profile without opening a new window. |
- menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), false); |
+ menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), |
+ false, |
+ ProfileMetrics::SWITCH_PROFILE_ICON); |
EXPECT_EQ(2U, browser_list->size()); |
EXPECT_EQ(path_profile1, browser_list->get(0)->profile()->GetPath()); |
EXPECT_EQ(path_profile2, browser_list->get(1)->profile()->GetPath()); |