From 5b1d777a2a60f08a2ee9cfe0ed9853aeb5555054 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Fri, 16 Oct 2009 22:27:01 +0000 Subject: 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 --- chrome/common/histogram_synchronizer.cc | 7 +------ chrome/common/histogram_synchronizer.h | 8 +------- 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> { -- cgit v1.1