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

Unified Diff: chrome_frame/test/net/fake_external_tab.cc

Issue 15935013: chrome_frame: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license Created 7 years, 7 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
Index: chrome_frame/test/net/fake_external_tab.cc
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index 6a1a0144c1a56110de68770ba60406279805b552..012805d34d2361f12a7705256b3bc9665a53002e 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -743,7 +743,7 @@ void CFUrlRequestUnittestRunner::StartInitializationTimeout() {
timeout_closure_.Reset(
base::Bind(&CFUrlRequestUnittestRunner::OnInitializationTimeout,
base::Unretained(this)));
- MessageLoop::current()->PostDelayedTask(
+ base::MessageLoop::current()->PostDelayedTask(
FROM_HERE,
timeout_closure_.callback(),
TestTimeouts::action_max_timeout());
@@ -825,8 +825,8 @@ void CFUrlRequestUnittestRunner::PreMainMessageLoopRun() {
}
bool CFUrlRequestUnittestRunner::MainMessageLoopRun(int* result_code) {
- DCHECK(MessageLoop::current());
- DCHECK(MessageLoop::current()->type() == MessageLoop::TYPE_UI);
+ DCHECK(base::MessageLoop::current());
+ DCHECK(base::MessageLoop::current()->type() == base::MessageLoop::TYPE_UI);
// We need to allow IO on the main thread for these tests.
base::ThreadRestrictions::SetIOAllowed(true);
« no previous file with comments | « chrome_frame/test/mock_ie_event_sink_actions.h ('k') | chrome_frame/test/net/test_automation_resource_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698