diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-01 21:33:00 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-01 21:33:00 +0000 |
commit | bb8074e9927ffb769a3683e9aa11f899a4506fbe (patch) | |
tree | 1cea8268708d35fc7dc43a423dd60e28ed54b54d /cloud_print/service | |
parent | 12382874042ef4a748011b0fb482af5e91b83a03 (diff) | |
download | chromium_src-bb8074e9927ffb769a3683e9aa11f899a4506fbe.zip chromium_src-bb8074e9927ffb769a3683e9aa11f899a4506fbe.tar.gz chromium_src-bb8074e9927ffb769a3683e9aa11f899a4506fbe.tar.bz2 |
Remove old PostDelayedTask interfaces that use int ms instead of TimeDelta.
BUG=108171
Review URL: https://chromiumcodereview.appspot.com/9703053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/service')
-rw-r--r-- | cloud_print/service/win/service_state.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cloud_print/service/win/service_state.cc b/cloud_print/service/win/service_state.cc index 8641000..5c1453f 100644 --- a/cloud_print/service/win/service_state.cc +++ b/cloud_print/service/win/service_state.cc @@ -180,8 +180,9 @@ std::string ServiceState::LoginToGoogle(const std::string& service, request.set_method("POST"); request.Start(); - MessageLoop::current()->PostDelayedTask( - FROM_HERE, MessageLoop::QuitClosure(), kRequestTimeoutMs); + MessageLoop::current()->PostDelayedTask(FROM_HERE, + MessageLoop::QuitClosure(), + base::TimeDelta::FromMilliseconds(kRequestTimeoutMs)); MessageLoop::current()->Run(); |