diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-30 23:11:04 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-30 23:11:04 +0000 |
commit | 9e7154126cd2e6dc9f7935758d17aea9b8df0dc3 (patch) | |
tree | 2b50814c21f5073b41f36661901b48d73e409be2 /sync/test/accounts_client/test_accounts_client.cc | |
parent | e1bcc0207442374ab4d539e6a5623fe4cf1fe8cb (diff) | |
download | chromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.zip chromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.tar.gz chromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.tar.bz2 |
Use base::MessageLoop in more files.
These are either missed in the first pass, or added after the first pass.
TBR=thestig@chromium.org
BUG=236029
Review URL: https://codereview.chromium.org/16092013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/test/accounts_client/test_accounts_client.cc')
-rw-r--r-- | sync/test/accounts_client/test_accounts_client.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sync/test/accounts_client/test_accounts_client.cc b/sync/test/accounts_client/test_accounts_client.cc index 82e7af2..8257691 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(); |