Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: components/metrics/metrics_log.h

Issue 794493002: Add UMA Histogram Manager to Cronet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments in Patch Set 1 Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/metrics/metrics_log.h
diff --git a/components/metrics/metrics_log.h b/components/metrics/metrics_log.h
index 53b30e63a79880d0357409ddbec336a816f80d6e..587b12e840d95bbdaebea5b718f24416230d16d8 100644
--- a/components/metrics/metrics_log.h
+++ b/components/metrics/metrics_log.h
@@ -141,6 +141,8 @@ class MetricsLog {
LogType log_type() const { return log_type_; }
+ ChromeUserMetricsExtension* uma_proto() { return &uma_proto_; }
+
protected:
// Exposed for the sake of mocking/accessing in test code.
@@ -149,7 +151,6 @@ class MetricsLog {
virtual void GetFieldTrialIds(
std::vector<variations::ActiveGroupId>* field_trial_ids) const;
- ChromeUserMetricsExtension* uma_proto() { return &uma_proto_; }
const ChromeUserMetricsExtension* uma_proto() const {
return &uma_proto_;
}

Powered by Google App Engine
This is Rietveld 408576698