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

Unified Diff: components/metrics/metrics_service_client.h

Issue 2522593008: Delete the stability file on clean exit. (Closed)
Patch Set: Strip extra whitespace Created 4 years, 1 month 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
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_service_client.h
diff --git a/components/metrics/metrics_service_client.h b/components/metrics/metrics_service_client.h
index ea675b3521aa58f2113c403bc580acc158ac7fa9..6a067afe6b89a79207daf65ca3ea6d5cad013c41 100644
--- a/components/metrics/metrics_service_client.h
+++ b/components/metrics/metrics_service_client.h
@@ -68,6 +68,9 @@ class MetricsServiceClient {
// Called by the metrics service when a log has been uploaded.
virtual void OnLogUploadComplete() = 0;
+ // Called by the metrics service to record a clean shutdown.
+ virtual void OnLogCleanShutdown() {}
+
// Gathers metrics that will be filled into the system profile protobuf,
// calling |done_callback| when complete.
virtual void InitializeSystemProfileMetrics(
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698