summaryrefslogtreecommitdiffstats
path: root/base/message_loop.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 17:31:22 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 17:31:22 +0000
commit90242e9e03d4eeff67d9fbc97e555597206c69d1 (patch)
tree28c5862e456ee3ccb24b157e9e6e9379576e8904 /base/message_loop.h
parent8907940aefb3a2a98a35332d46cc56bb3d8edf38 (diff)
downloadchromium_src-90242e9e03d4eeff67d9fbc97e555597206c69d1.zip
chromium_src-90242e9e03d4eeff67d9fbc97e555597206c69d1.tar.gz
chromium_src-90242e9e03d4eeff67d9fbc97e555597206c69d1.tar.bz2
More header cleanup:
- Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.h')
-rw-r--r--base/message_loop.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/base/message_loop.h b/base/message_loop.h
index 8deacec..35b2651 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