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