summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/chrome_frame_automation_mock.cc
diff options
context:
space:
mode:
authoroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-24 07:19:51 +0000
committeroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-24 07:19:51 +0000
commit4d62853116b1f32e7aaa832c7988fb173eafac24 (patch)
tree3d43282a5b159b1659f650807822810881552368 /chrome_frame/test/chrome_frame_automation_mock.cc
parent6e08414d4b8a1d0217118a282666add8ec0b777a (diff)
downloadchromium_src-4d62853116b1f32e7aaa832c7988fb173eafac24.zip
chromium_src-4d62853116b1f32e7aaa832c7988fb173eafac24.tar.gz
chromium_src-4d62853116b1f32e7aaa832c7988fb173eafac24.tar.bz2
rename Run in MessageLoopForUI to RunWithDispatcher
BUG=99471 TEST=none Review URL: http://codereview.chromium.org/8343023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/chrome_frame_automation_mock.cc')
-rw-r--r--chrome_frame/test/chrome_frame_automation_mock.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome_frame/test/chrome_frame_automation_mock.cc b/chrome_frame/test/chrome_frame_automation_mock.cc
index af88517..4da64bc 100644
--- a/chrome_frame/test/chrome_frame_automation_mock.cc
+++ b/chrome_frame/test/chrome_frame_automation_mock.cc
@@ -19,7 +19,7 @@ TEST(ChromeFrame, FLAKY_Launch) {
loop.PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask, kLongWaitTimeout);
mock_launch.Navigate("about:blank");
- loop.Run(NULL);
+ loop.RunWithDispatcher(NULL);
EXPECT_TRUE(mock_launch.launch_result());
}
@@ -30,7 +30,7 @@ TEST(ChromeFrame, Navigate) {
loop.PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask, kLongWaitTimeout);
mock_navigate.NavigateRelativeFile(L"postmessage_basic_frame.html");
- loop.Run(NULL);
+ loop.RunWithDispatcher(NULL);
EXPECT_FALSE(mock_navigate.navigation_result());
}
@@ -41,7 +41,7 @@ TEST(ChromeFrame, PostMessage) {
loop.PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask, kLongWaitTimeout);
mock_postmessage.NavigateRelativeFile(L"postmessage_basic_frame.html");
- loop.Run(NULL);
+ loop.RunWithDispatcher(NULL);
EXPECT_FALSE(mock_postmessage.postmessage_result());
}
@@ -55,7 +55,7 @@ TEST(ChromeFrame, FLAKY_RequestStart) {
loop.PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask, kLongWaitTimeout);
mock_request_start.NavigateRelative(L"postmessage_basic_frame.html");
- loop.Run(NULL);
+ loop.RunWithDispatcher(NULL);
EXPECT_TRUE(mock_request_start.request_start_result());
}