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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_test.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again 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/browser/safe_browsing/safe_browsing_test.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_test.cc b/chrome/browser/safe_browsing/safe_browsing_test.cc
index 7fe39eb40bb08e8a869df880db6357a0b1dd2df5..78a225cb06402e0e7a004648e75b2254cfe15e4c 100644
--- a/chrome/browser/safe_browsing/safe_browsing_test.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_test.cc
@@ -203,7 +203,7 @@ class SafeBrowsingServerTest : public InProcessBrowserTest {
return is_update_scheduled_;
}
- MessageLoop* SafeBrowsingMessageLoop() {
+ base::MessageLoop* SafeBrowsingMessageLoop() {
return database_manager()->safe_browsing_thread_->message_loop();
}
@@ -350,7 +350,7 @@ class SafeBrowsingServerTestHelper
// Checks status in SafeBrowsing Thread.
void CheckIsDatabaseReady() {
- EXPECT_EQ(MessageLoop::current(),
+ EXPECT_EQ(base::MessageLoop::current(),
safe_browsing_test_->SafeBrowsingMessageLoop());
safe_browsing_test_->CheckIsDatabaseReady();
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
@@ -422,7 +422,7 @@ class SafeBrowsingServerTestHelper
// Stops UI loop after desired status is updated.
void StopUILoop() {
EXPECT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::UI));
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
// Fetch a URL. If message_loop_started is true, starts the message loop

Powered by Google App Engine
This is Rietveld 408576698