summaryrefslogtreecommitdiffstats
path: root/base/task_runner.h
diff options
context:
space:
mode:
authorasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-01 22:05:10 +0000
committerasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-01 22:05:10 +0000
commitad5fb16613da3b87e9b271212616c6538494ba82 (patch)
tree39a79b406b12d5781da2e58642078626dee2b663 /base/task_runner.h
parent500cc4569242f0c381c8aad56b67909ab6ba40f4 (diff)
downloadchromium_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/task_runner.h')
-rw-r--r--base/task_runner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/task_runner.h b/base/task_runner.h
index c1e1758..894eb87 100644
--- a/base/task_runner.h
+++ b/base/task_runner.h
@@ -72,6 +72,11 @@ class BASE_EXPORT TaskRunner
//
// It is valid for an implementation to ignore |delay_ms|; that is,
// to have PostDelayedTask behave the same as PostTask.
+ //
+ // TODO(tedv): Make PostDelayedTask use TimeDelta instead.
+ virtual bool PostDelayedTask(const tracked_objects::Location& from_here,
+ const Closure& task,
+ int64 delay_ms) = 0;
virtual bool PostDelayedTask(const tracked_objects::Location& from_here,
const Closure& task,
base::TimeDelta delay) = 0;