Index: components/metrics/metrics_log.h |
diff --git a/components/metrics/metrics_log.h b/components/metrics/metrics_log.h |
index 53b30e63a79880d0357409ddbec336a816f80d6e..3492fd217df51e0abb2f8a918209970f44a0a857 100644 |
--- a/components/metrics/metrics_log.h |
+++ b/components/metrics/metrics_log.h |
@@ -97,7 +97,8 @@ class MetricsLog { |
void RecordEnvironment( |
const std::vector<MetricsProvider*>& metrics_providers, |
const std::vector<variations::ActiveGroupId>& synthetic_trials, |
- int64 install_date); |
+ int64 install_date, |
+ int64 metrics_reporting_enabled_date); |
// Loads the environment proto that was saved by the last RecordEnvironment() |
// call from prefs and clears the pref value. Returns true on success or false |
@@ -150,6 +151,9 @@ class MetricsLog { |
std::vector<variations::ActiveGroupId>* field_trial_ids) const; |
ChromeUserMetricsExtension* uma_proto() { return &uma_proto_; } |
+ |
+ // Exposed to allow subclass to access to export the uma_proto. Can be used |
+ // by external components to export logs to Chrome. |
const ChromeUserMetricsExtension* uma_proto() const { |
return &uma_proto_; |
} |