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

Unified Diff: components/metrics_services_manager/metrics_services_manager_client.h

Issue 2221833005: Adding support for sampling crashes in Chrome on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename, move enable checks Created 4 years, 4 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_services_manager/metrics_services_manager_client.h
diff --git a/components/metrics_services_manager/metrics_services_manager_client.h b/components/metrics_services_manager/metrics_services_manager_client.h
index 40c6d0d037ab9cc85bdea82c759637186e1a2b99..761699604dc939307756d5bc2b41268c5a670acd 100644
--- a/components/metrics_services_manager/metrics_services_manager_client.h
+++ b/components/metrics_services_manager/metrics_services_manager_client.h
@@ -57,6 +57,10 @@ class MetricsServicesManagerClient {
// Whether the metrics services should record but not report metrics.
virtual bool OnlyDoMetricsRecording() = 0;
+
+ // Update the running state of metrics services managed by the embedder, for
+ // example, crash reporting.
+ virtual void UpdateRunningServices(bool may_record, bool may_upload) {}
};
} // namespace metrics_services_manager

Powered by Google App Engine
This is Rietveld 408576698