Index: base/message_loop.h |
=================================================================== |
--- base/message_loop.h (revision 52342) |
+++ base/message_loop.h (working copy) |
@@ -9,10 +9,11 @@ |
#include <string> |
#include "base/basictypes.h" |
-#include "base/lock.h" |
+#include "base/histogram.h" |
#include "base/message_pump.h" |
#include "base/observer_list.h" |
#include "base/ref_counted.h" |
+#include "base/scoped_ptr.h" |
#include "base/task.h" |
#if defined(OS_WIN) |
@@ -26,8 +27,6 @@ |
#endif |
#endif |
-class Histogram; |
- |
// A MessageLoop is used to process events for a particular thread. There is |
// at most one MessageLoop instance per thread. |
// |
@@ -428,6 +427,9 @@ |
// If message_histogram_ is NULL, this is a no-op. |
void HistogramEvent(int event); |
+ static const LinearHistogram::DescriptionPair event_descriptions_[]; |
+ static bool enable_histogrammer_; |
+ |
Type type_; |
// A list of tasks that need to be processed by this instance. Note that |