| Index: components/metrics/metrics_provider.h
|
| diff --git a/components/metrics/metrics_provider.h b/components/metrics/metrics_provider.h
|
| index 54c0a8949042360ae3ef7f5b6be52547a21efc9f..a867ef45bccd5d3a36b6efbe7cd8280fb951100c 100644
|
| --- a/components/metrics/metrics_provider.h
|
| +++ b/components/metrics/metrics_provider.h
|
| @@ -42,6 +42,14 @@ class MetricsProvider {
|
| // further notification after this callback.
|
| virtual void OnAppEnterBackground();
|
|
|
| + // Provides a complete and independent system profile + metrics for uploading.
|
| + // Any histograms added to the |snapshot_manager| will also be included. A
|
| + // return of false indicates there are none. Will be called repeatedly until
|
| + // there is nothing else.
|
| + virtual bool ProvideIndependentMetrics(
|
| + SystemProfileProto* system_profile_proto,
|
| + base::HistogramSnapshotManager* snapshot_manager);
|
| +
|
| // Provides additional metrics into the system profile.
|
| virtual void ProvideSystemProfileMetrics(
|
| SystemProfileProto* system_profile_proto);
|
|
|