Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: base/message_loop.h

Issue 126279: Consistently use int64 for integers holding number of milliseconds. (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/message_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.h
diff --git a/base/message_loop.h b/base/message_loop.h
index 01f8c92fa7017c1fa511017acccadee3f1962cf7..e3f07bff21c07643772351c6a48c41da3b1ea7e2 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();
« no previous file with comments | « no previous file | base/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698