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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_unittest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/sync/glue/sync_backend_host_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
index d05dd46377176886d7066e7e582b5fd91527537d..761db8966bd5aff1020648f124b5d4cfd9efd43a 100644
--- a/chrome/browser/sync/glue/sync_backend_host_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
@@ -53,7 +53,7 @@ ACTION_P(Signal, event) {
}
void QuitMessageLoop() {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
class MockSyncFrontend : public SyncFrontend {
@@ -248,14 +248,14 @@ class SyncBackendHostTest : public testing::Test {
protected:
void DownloadReady(syncer::ModelTypeSet types) {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void OnDownloadRetry() {
NOTIMPLEMENTED();
}
- MessageLoop ui_loop_;
+ base::MessageLoop ui_loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread io_thread_;
StrictMock<MockSyncFrontend> mock_frontend_;

Powered by Google App Engine
This is Rietveld 408576698