summaryrefslogtreecommitdiffstats
path: root/base/message_loop.h
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 23:25:43 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 23:25:43 +0000
commita5b94a90c11917b9c7f1d91c9a2069badc22819e (patch)
treeb37df6a3cab7423d33ca6d6147fe68ead3a9f844 /base/message_loop.h
parent0c6332fe5c874df3fcf1d3b29a6e633efb3418eb (diff)
downloadchromium_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.h5
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();