Index: components/metrics/metrics_service.h |
diff --git a/components/metrics/metrics_service.h b/components/metrics/metrics_service.h |
index d7a612c83c1b6abde522f47c04dc14430398cf67..8a71d07b44fa56b36d43ec1f17d697215d9feac0 100644 |
--- a/components/metrics/metrics_service.h |
+++ b/components/metrics/metrics_service.h |
@@ -151,6 +151,10 @@ class MetricsService : public base::HistogramFlattener { |
// Returns the install date of the application, in seconds since the epoch. |
int64 GetInstallDate(); |
+ // Returns the date at which the current metrics client ID was created as |
+ // an int64 containing seconds since the epoch. |
+ int64 GetMetricsReportingEnabledDate(); |
+ |
// Returns the preferred entropy provider used to seed persistent activities |
// based on whether or not metrics reporting will be permitted on this client. |
// |
@@ -243,6 +247,9 @@ class MetricsService : public base::HistogramFlattener { |
// Clears the stability metrics that are saved in local state. |
void ClearSavedStabilityMetrics(); |
+ // Pushes a log that has been generated by an external component. |
+ void PushExternalLog(const std::string& log); |
+ |
protected: |
// Exposed for testing. |
MetricsLogManager* log_manager() { return &log_manager_; } |