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

Unified Diff: sync/test/accounts_client/test_accounts_client.cc

Issue 16092013: Use base::MessageLoop in more files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again, sigh 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
« no previous file with comments | « sync/test/accounts_client/test_accounts_client.h ('k') | ui/aura/dispatcher_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/accounts_client/test_accounts_client.cc
diff --git a/sync/test/accounts_client/test_accounts_client.cc b/sync/test/accounts_client/test_accounts_client.cc
index 82e7af2c8fde8ef79cf92126d7ec01bf7e31679f..8257691cdaeea6d6c9db38a38a76d86176370ba4 100644
--- a/sync/test/accounts_client/test_accounts_client.cc
+++ b/sync/test/accounts_client/test_accounts_client.cc
@@ -135,7 +135,7 @@ GURL TestAccountsClient::CreateGURLWithPath(const string& path) {
bool TestAccountsClient::SendRequest(const GURL& url, string* response) {
- MessageLoop* loop = MessageLoop::current();
+ base::MessageLoop* loop = base::MessageLoop::current();
scoped_refptr<URLRequestContextGetter> context_getter(
new URLRequestContextGetter(loop->message_loop_proxy()));
@@ -148,7 +148,7 @@ bool TestAccountsClient::SendRequest(const GURL& url, string* response) {
fetcher->SetUploadData("application/json", "");
fetcher->Start();
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
+ base::MessageLoop::current()->PostDelayedTask(FROM_HERE,
run_loop.QuitClosure(),
kRequestTimeout);
run_loop.Run();
« no previous file with comments | « sync/test/accounts_client/test_accounts_client.h ('k') | ui/aura/dispatcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698