diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 18:18:55 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 18:18:55 +0000 |
commit | 3f383853bdea91d3cf86d4214e4dfdee6a585805 (patch) | |
tree | a3d0a6af5d86c3c35a02e81f7ef084a8e47a6c07 /base | |
parent | b38a4e5f1c482345cab0575fc89cc024d00b8817 (diff) | |
download | chromium_src-3f383853bdea91d3cf86d4214e4dfdee6a585805.zip chromium_src-3f383853bdea91d3cf86d4214e4dfdee6a585805.tar.gz chromium_src-3f383853bdea91d3cf86d4214e4dfdee6a585805.tar.bz2 |
Remove unneeded uses of base/pickle.h. Add some explicit #includes.
Review URL: http://codereview.chromium.org/60095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/histogram.cc | 1 | ||||
-rw-r--r-- | base/histogram.h | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/base/histogram.cc b/base/histogram.cc index 9184926e..d1568429 100644 --- a/base/histogram.cc +++ b/base/histogram.cc @@ -13,6 +13,7 @@ #include <string> #include "base/logging.h" +#include "base/pickle.h" #include "base/string_util.h" using base::TimeDelta; diff --git a/base/histogram.h b/base/histogram.h index f189a06..0773a7a 100644 --- a/base/histogram.h +++ b/base/histogram.h @@ -28,15 +28,14 @@ // at the low end of the histogram scale, but allows the histogram to cover a // gigantic range with the addition of very few buckets. -#ifndef BASE_HISTOGRAM_H__ -#define BASE_HISTOGRAM_H__ +#ifndef BASE_HISTOGRAM_H_ +#define BASE_HISTOGRAM_H_ #include <map> #include <string> #include <vector> #include "base/lock.h" -#include "base/pickle.h" #include "base/stats_counters.h" //------------------------------------------------------------------------------ @@ -202,6 +201,8 @@ static const int kRendererHistogramFlag = 1 << 4; //------------------------------------------------------------------------------ +class Pickle; + class Histogram : public StatsRate { public: typedef int Sample; // Used for samples (and ranges of samples). @@ -551,4 +552,4 @@ class StatisticsRecorder { DISALLOW_COPY_AND_ASSIGN(StatisticsRecorder); }; -#endif // BASE_HISTOGRAM_H__ +#endif // BASE_HISTOGRAM_H_ |