diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 04:38:38 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 04:38:38 +0000 |
commit | 835d7c811c98f179090c57a827a9c9baa2130435 (patch) | |
tree | edcff6b2c9029c6f867f650d762837f2485d99fb /chrome/common/metrics_helpers.h | |
parent | 4b1deac7ba7e7a6bf0425e6ed4db26e0c29daa7f (diff) | |
download | chromium_src-835d7c811c98f179090c57a827a9c9baa2130435.zip chromium_src-835d7c811c98f179090c57a827a9c9baa2130435.tar.gz chromium_src-835d7c811c98f179090c57a827a9c9baa2130435.tar.bz2 |
Move Stats, histograms, and field trial into a metrics subdirectory of base and
put them in the base namespace.
TEST=it compiles
BUG=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/metrics_helpers.h')
-rw-r--r-- | chrome/common/metrics_helpers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/common/metrics_helpers.h b/chrome/common/metrics_helpers.h index 990a9fe..b0bbec2 100644 --- a/chrome/common/metrics_helpers.h +++ b/chrome/common/metrics_helpers.h @@ -13,7 +13,7 @@ #include <string> #include "base/basictypes.h" -#include "base/histogram.h" +#include "base/metrics/histogram.h" #include "base/time.h" #include "chrome/common/page_transition_types.h" @@ -54,8 +54,8 @@ class MetricsLogBase { base::TimeDelta load_time); // Record any changes in a given histogram for transmission. - void RecordHistogramDelta(const Histogram& histogram, - const Histogram::SampleSet& snapshot); + void RecordHistogramDelta(const base::Histogram& histogram, + const base::Histogram::SampleSet& snapshot); // Stop writing to this record and generate the encoded representation. // None of the Record* methods can be called after this is called. @@ -200,7 +200,7 @@ class MetricsServiceBase { void RecordCurrentHistograms(); // Record a specific histogram . - void RecordHistogram(const Histogram& histogram); + void RecordHistogram(const base::Histogram& histogram); // A log that we are currently transmiting, or about to try to transmit. MetricsLogBase* pending_log_; @@ -214,7 +214,7 @@ class MetricsServiceBase { MetricsLogBase* current_log_; // Maintain a map of histogram names to the sample stats we've sent. - typedef std::map<std::string, Histogram::SampleSet> LoggedSampleMap; + typedef std::map<std::string, base::Histogram::SampleSet> LoggedSampleMap; // For histograms, record what we've already logged (as a sample for each // histogram) so that we can send only the delta with the next log. |