diff options
author | Iain Merrick <husky@google.com> | 2010-11-01 12:19:54 +0000 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-11-03 10:21:10 +0000 |
commit | 731df977c0511bca2206b5f333555b1205ff1f43 (patch) | |
tree | 0e750b949b3f00a1ac11fda25d3c2de512f2b465 /chrome/common/metrics_helpers.h | |
parent | 5add15e10e7bb80512f2c597ca57221314abe577 (diff) | |
download | external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.zip external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.gz external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.bz2 |
Merge Chromium at r63472 : Initial merge by git.
Change-Id: Ifb9ee821af006a5f2211e81471be93ae440a1f5a
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. |