diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 23:25:43 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 23:25:43 +0000 |
commit | a5b94a90c11917b9c7f1d91c9a2069badc22819e (patch) | |
tree | b37df6a3cab7423d33ca6d6147fe68ead3a9f844 /base/message_loop.h | |
parent | 0c6332fe5c874df3fcf1d3b29a6e633efb3418eb (diff) | |
download | chromium_src-a5b94a90c11917b9c7f1d91c9a2069badc22819e.zip chromium_src-a5b94a90c11917b9c7f1d91c9a2069badc22819e.tar.gz chromium_src-a5b94a90c11917b9c7f1d91c9a2069badc22819e.tar.bz2 |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@760 0039d316-1c4b-4281-b951-d872f2087c98
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(); |