Index: chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc |
=================================================================== |
--- chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc (revision 148497) |
+++ chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc (working copy) |
@@ -74,7 +74,7 @@ |
// View should no longer be showing. The message loop will exit once the |
// fade animation of the bubble is done. |
- ui_test_utils::RunMessageLoop(); |
+ content::RunMessageLoop(); |
EXPECT_TRUE(on_start_sync_called_); |
EXPECT_EQ(OneClickSigninSyncStarter::SYNC_WITH_DEFAULT_SETTINGS, mode_); |
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing()); |
@@ -93,7 +93,7 @@ |
// View should no longer be showing. The message loop will exit once the |
// fade animation of the bubble is done. |
- ui_test_utils::RunMessageLoop(); |
+ content::RunMessageLoop(); |
EXPECT_FALSE(on_start_sync_called_); |
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing()); |
} |
@@ -108,7 +108,7 @@ |
listener->LinkClicked(view->advanced_link_, 0); |
// View should no longer be showing and a new tab should be opened. |
- ui_test_utils::RunMessageLoop(); |
+ content::RunMessageLoop(); |
EXPECT_TRUE(on_start_sync_called_); |
EXPECT_EQ(OneClickSigninSyncStarter::CONFIGURE_SYNC_FIRST, mode_); |
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing()); |
@@ -126,7 +126,7 @@ |
// View should no longer be showing. The message loop will exit once the |
// fade animation of the bubble is done. |
- ui_test_utils::RunMessageLoop(); |
+ content::RunMessageLoop(); |
EXPECT_TRUE(on_start_sync_called_); |
EXPECT_EQ(OneClickSigninSyncStarter::SYNC_WITH_DEFAULT_SETTINGS, mode_); |
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing()); |
@@ -144,7 +144,7 @@ |
// View should no longer be showing. The message loop will exit once the |
// fade animation of the bubble is done. |
- ui_test_utils::RunMessageLoop(); |
+ content::RunMessageLoop(); |
EXPECT_FALSE(on_start_sync_called_); |
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing()); |
} |