diff options
author | kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-23 04:12:17 +0000 |
---|---|---|
committer | kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-23 04:12:17 +0000 |
commit | de415556289c07f6a28bec79405d413460b186d2 (patch) | |
tree | 6664e471f3383e96c9f768750ad25d75cab567dc /third_party | |
parent | 042b62dec29c560ccf3e5bfdbf658c11adb56f0b (diff) | |
download | chromium_src-de415556289c07f6a28bec79405d413460b186d2.zip chromium_src-de415556289c07f6a28bec79405d413460b186d2.tar.gz chromium_src-de415556289c07f6a28bec79405d413460b186d2.tar.bz2 |
Only HistogramBase is used outside of base/metrics.
So client code of histogram will see a simpler interface. This also makes adding SparseHistogram to existing metrics framework possible.
This CL depends on https://codereview.chromium.org/11682003/
So please review that one first.
TBR=sky@chromium.org,erikwright@chromium.org
BUG=139612
Review URL: https://chromiumcodereview.appspot.com/11615008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/leveldatabase/env_chromium.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc index 474599c..76bbd3a 100644 --- a/third_party/leveldatabase/env_chromium.cc +++ b/third_party/leveldatabase/env_chromium.cc @@ -524,7 +524,7 @@ class ChromiumEnv : public Env, public UMALogger { return Status::IOError(fname, strerror(errno)); } else { if (!sync_parent(fname)) { - fclose(f); + fclose(f); return Status::IOError(fname, strerror(errno)); } *result = new ChromiumLogger(f); @@ -572,8 +572,8 @@ class ChromiumEnv : public Env, public UMALogger { typedef std::deque<BGItem> BGQueue; BGQueue queue_; - base::Histogram* io_error_histogram_; - base::Histogram* random_access_file_histogram_; + base::HistogramBase* io_error_histogram_; + base::HistogramBase* random_access_file_histogram_; }; ChromiumEnv::ChromiumEnv() |