diff options
Diffstat (limited to 'base/message_loop.h')
-rw-r--r-- | base/message_loop.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/message_loop.h b/base/message_loop.h index 85535b4..81c1e52 100644 --- a/base/message_loop.h +++ b/base/message_loop.h @@ -365,6 +365,8 @@ class MessageLoop { //---------------------------------------------------------------------------- private: + friend class TimerManager; // So it can call DidChangeNextTimerExpiry + struct ScopedStateSave { explicit ScopedStateSave(MessageLoop* loop) : loop_(loop), @@ -573,6 +575,9 @@ class MessageLoop { // Post a task to our incomming queue. void PostTaskInternal(Task* task); + // Called by the TimerManager when its next timer changes. + void DidChangeNextTimerExpiry(); + // Start recording histogram info about events and action IF it was enabled // and IF the statistics recorder can accept a registration of our histogram. void StartHistogrammer(); |