summaryrefslogtreecommitdiffstats
path: root/base/message_loop.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 17:23:51 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 17:23:51 +0000
commit743ace4213ae3ea93355dff8b57ef33287b32220 (patch)
treee39fc30e436e0a06790d665878cd91113ba180d4 /base/message_loop.h
parent8c14a436fe6488c8f647ff79301102e885838c77 (diff)
downloadchromium_src-743ace4213ae3ea93355dff8b57ef33287b32220.zip
chromium_src-743ace4213ae3ea93355dff8b57ef33287b32220.tar.gz
chromium_src-743ace4213ae3ea93355dff8b57ef33287b32220.tar.bz2
Consistently use int64 for integers holding number of milliseconds.
This applies only to things which use TimeDelta::InMilliseconds, because it returns int64. Before this patch callers static_casted that to int, and after this patch they use the returned value as int64. Review URL: http://codereview.chromium.org/126279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.h')
-rw-r--r--base/message_loop.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/message_loop.h b/base/message_loop.h
index 01f8c92..e3f07bf 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -103,13 +103,13 @@ class MessageLoop : public base::MessagePump::Delegate {
const tracked_objects::Location& from_here, Task* task);
void PostDelayedTask(
- const tracked_objects::Location& from_here, Task* task, int delay_ms);
+ const tracked_objects::Location& from_here, Task* task, int64 delay_ms);
void PostNonNestableTask(
const tracked_objects::Location& from_here, Task* task);
void PostNonNestableDelayedTask(
- const tracked_objects::Location& from_here, Task* task, int delay_ms);
+ const tracked_objects::Location& from_here, Task* task, int64 delay_ms);
// A variant on PostTask that deletes the given object. This is useful
// if the object needs to live until the next run of the MessageLoop (for
@@ -331,7 +331,7 @@ class MessageLoop : public base::MessagePump::Delegate {
// Post a task to our incomming queue.
void PostTask_Helper(const tracked_objects::Location& from_here, Task* task,
- int delay_ms, bool nestable);
+ int64 delay_ms, bool nestable);
// base::MessagePump::Delegate methods:
virtual bool DoWork();