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

Unified Diff: chrome_frame/test/chrome_frame_automation_mock.cc

Issue 8343023: rename Run in MessageLoopForUI to RunWithDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 2 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
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | content/browser/browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/chrome_frame_automation_mock.cc
diff --git a/chrome_frame/test/chrome_frame_automation_mock.cc b/chrome_frame/test/chrome_frame_automation_mock.cc
index af885178f9a38526fdecb165600814a20d21483e..4da64bc4be12b5ea72e95697e4fb1367acb566b5 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());
}
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | content/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698