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

Unified Diff: components/metrics/metrics_service.h

Issue 993813002: Refactor metrics callback functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@states
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | components/metrics/metrics_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_service.h
diff --git a/components/metrics/metrics_service.h b/components/metrics/metrics_service.h
index d7a612c83c1b6abde522f47c04dc14430398cf67..0aba710c7dd4a3b7658b40af97c3720ef9db65d2 100644
--- a/components/metrics/metrics_service.h
+++ b/components/metrics/metrics_service.h
@@ -329,12 +329,13 @@ class MetricsService : public base::HistogramFlattener {
// Starts the process of uploading metrics data.
void StartScheduledUpload();
- // Called by the client when final log info collection is complete.
+ // Called by the client via a callback when final log info collection is
+ // complete.
void OnFinalLogInfoCollectionDone();
- // Either closes the current log or creates and closes the initial log
- // (depending on |state_|), and stages it for upload.
- void StageNewLog();
+ // If recording is enabled, begins uploading the next completed log from
+ // the log manager, staging it if necessary.
+ void SendNextLog();
// Returns true if any of the registered metrics providers have stability
// metrics to report.
« no previous file with comments | « no previous file | components/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698