Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(997)

Unified Diff: base/message_loop.h

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/slide_animation_unittest.cc ('k') | base/message_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.h
diff --git a/base/message_loop.h b/base/message_loop.h
index 8deacecd10d293a857ed736809549dee8baa5903..35b2651d85b0d1d9bcbffac0b6b0109dfe027d02 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -9,11 +9,10 @@
#include <string>
#include "base/basictypes.h"
-#include "base/histogram.h"
+#include "base/lock.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)
@@ -27,6 +26,8 @@
#endif
#endif
+class Histogram;
+
// A MessageLoop is used to process events for a particular thread. There is
// at most one MessageLoop instance per thread.
//
@@ -427,9 +428,6 @@ class MessageLoop : public base::MessagePump::Delegate {
// 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
« no previous file with comments | « app/slide_animation_unittest.cc ('k') | base/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698