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 /base/message_loop_proxy_impl.cc | |
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 'base/message_loop_proxy_impl.cc')
-rw-r--r-- | base/message_loop_proxy_impl.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/base/message_loop_proxy_impl.cc b/base/message_loop_proxy_impl.cc index b4ca210..9f6cb1f 100644 --- a/base/message_loop_proxy_impl.cc +++ b/base/message_loop_proxy_impl.cc @@ -12,6 +12,24 @@ namespace base { MessageLoopProxyImpl::~MessageLoopProxyImpl() { } +// This function will be removed later in the fixing of CR Bug #108171. +bool MessageLoopProxyImpl::PostDelayedTask( + const tracked_objects::Location& from_here, + const base::Closure& task, + int64 delay_ms) { + return PostDelayedTask( + from_here, task, base::TimeDelta::FromMilliseconds(delay_ms)); +} + +// This function will be removed later in the fixing of CR Bug #108171. +bool MessageLoopProxyImpl::PostNonNestableDelayedTask( + const tracked_objects::Location& from_here, + const base::Closure& task, + int64 delay_ms) { + return PostNonNestableDelayedTask( + from_here, task, base::TimeDelta::FromMilliseconds(delay_ms)); +} + bool MessageLoopProxyImpl::PostDelayedTask( const tracked_objects::Location& from_here, const base::Closure& task, |