diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-26 08:17:37 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-26 08:17:37 +0000 |
commit | 17dc674a9c9be676ebe13014d4e2c406e0c0c1ad (patch) | |
tree | a860c9c606eb2698f5e7af9479c704ad69e25a4a /base/sequenced_task_runner.h | |
parent | b703d26d2ed97aa5c59fa70fd78821e1fe78dbf1 (diff) | |
download | chromium_src-17dc674a9c9be676ebe13014d4e2c406e0c0c1ad.zip chromium_src-17dc674a9c9be676ebe13014d4e2c406e0c0c1ad.tar.gz chromium_src-17dc674a9c9be676ebe13014d4e2c406e0c0c1ad.tar.bz2 |
Add functions to expand PostDelayedTask interface.
These functions add TimeDelta interfaces in addition to the int ms interfaces,
which will be removed at a later date.
BUG=108171
Review URL: http://codereview.chromium.org/9427023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sequenced_task_runner.h')
-rw-r--r-- | base/sequenced_task_runner.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/sequenced_task_runner.h b/base/sequenced_task_runner.h index a280522..f44b622 100644 --- a/base/sequenced_task_runner.h +++ b/base/sequenced_task_runner.h @@ -116,6 +116,11 @@ class BASE_EXPORT SequencedTaskRunner : public TaskRunner { const Closure& task, int64 delay_ms) = 0; + virtual bool PostNonNestableDelayedTask( + const tracked_objects::Location& from_here, + const Closure& task, + base::TimeDelta delay) = 0; + // Submits a non-nestable task to delete the given object. Returns // true if the object may be deleted at some point in the future, // and false if the object definitely will not be deleted. |