summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 22:27:01 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 22:27:01 +0000
commit5b1d777a2a60f08a2ee9cfe0ed9853aeb5555054 (patch)
tree0fc70ae3bc4da25ce6e304e51e98deb0e8145aa9
parent60ea5d4efec3cefa00bcb87435358e9018ec688c (diff)
downloadchromium_src-5b1d777a2a60f08a2ee9cfe0ed9853aeb5555054.zip
chromium_src-5b1d777a2a60f08a2ee9cfe0ed9853aeb5555054.tar.gz
chromium_src-5b1d777a2a60f08a2ee9cfe0ed9853aeb5555054.tar.bz2
Minor cleanup in histogram_synchronizer.
BUG=none TEST=none Review URL: http://codereview.chromium.org/283016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29341 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/histogram_synchronizer.cc7
-rw-r--r--chrome/common/histogram_synchronizer.h8
2 files changed, 2 insertions, 13 deletions
diff --git a/chrome/common/histogram_synchronizer.cc b/chrome/common/histogram_synchronizer.cc
index 54ff230..cc20c41 100644
--- a/chrome/common/histogram_synchronizer.cc
+++ b/chrome/common/histogram_synchronizer.cc
@@ -2,19 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include <string>
+#include "chrome/common/histogram_synchronizer.h"
#include "base/histogram.h"
#include "base/logging.h"
-#include "base/string_util.h"
#include "base/thread.h"
-#include "chrome/browser/browser.h"
-#include "chrome/browser/browser_list.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/renderer_host/render_process_host.h"
-#include "chrome/common/child_thread.h"
#include "chrome/common/render_messages.h"
-#include "chrome/common/histogram_synchronizer.h"
using base::Time;
using base::TimeDelta;
diff --git a/chrome/common/histogram_synchronizer.h b/chrome/common/histogram_synchronizer.h
index ed866fc..35e965e 100644
--- a/chrome/common/histogram_synchronizer.h
+++ b/chrome/common/histogram_synchronizer.h
@@ -5,23 +5,17 @@
#ifndef CHROME_COMMON_HISTOGRAM_SYNCHRONIZER_H_
#define CHROME_COMMON_HISTOGRAM_SYNCHRONIZER_H_
-#include <list>
-#include <map>
-#include <set>
#include <string>
#include <vector>
#include "base/basictypes.h"
#include "base/condition_variable.h"
#include "base/lock.h"
-#include "base/message_loop.h"
-#include "base/process.h"
#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
-#include "base/task.h"
#include "base/time.h"
class MessageLoop;
+class Task;
class HistogramSynchronizer : public
base::RefCountedThreadSafe<HistogramSynchronizer> {