Index: base/message_loop/message_pump.h |
diff --git a/base/message_loop/message_pump.h b/base/message_loop/message_pump.h |
index 816bb3c3d39eb88097731ad9cc2e4178c4ae1a63..a795f31b67ccebf6c92161292906771493fa5f25 100644 |
--- a/base/message_loop/message_pump.h |
+++ b/base/message_loop/message_pump.h |
@@ -7,6 +7,7 @@ |
#include "base/base_export.h" |
#include "base/basictypes.h" |
+#include "base/message_loop/timer_slack.h" |
#include "base/threading/non_thread_safe.h" |
namespace base { |
@@ -134,6 +135,9 @@ class BASE_EXPORT MessagePump : public NonThreadSafe { |
// cancelling any pending DoDelayedWork callback. This method may only be |
// used on the thread that called Run. |
virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) = 0; |
+ |
+ // Sets the timer slack to the specified value. |
+ virtual void SetTimerSlack(TimerSlack timer_slack); |
}; |
} // namespace base |