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

Unified Diff: components/metrics/metrics_provider.h

Issue 2918533003: Send metrics with embedded system profiles after system startup. (Closed)
Patch Set: load profile from only the first found source Created 3 years, 7 months 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_provider.h
diff --git a/components/metrics/metrics_provider.h b/components/metrics/metrics_provider.h
index 54c0a8949042360ae3ef7f5b6be52547a21efc9f..844e904dcee0a9ed4b4078734e3dd661c61dda1f 100644
--- a/components/metrics/metrics_provider.h
+++ b/components/metrics/metrics_provider.h
@@ -42,6 +42,11 @@ class MetricsProvider {
// further notification after this callback.
virtual void OnAppEnterBackground();
+ // Provides initial system profile. If no provider supplies this, one will
+ // be created using system information.
+ virtual bool ProvideStabilitySystemProfile(
+ SystemProfileProto* system_profile_proto);
+
// Provides additional metrics into the system profile.
virtual void ProvideSystemProfileMetrics(
SystemProfileProto* system_profile_proto);

Powered by Google App Engine
This is Rietveld 408576698