DescriptionAdd PLMObserver::FlushMetricsOnAppEnterBackground.
PLMObserver::FlushMetricsOnAppEnterBackground gets invoked when the metrics
subsystem is flushing metrics as part of the app entering the background.
Observers that buffer metrics information and flush it in the OnComplete
callback may want to implement this method, in order to avoid losing data
due to the application being killed after being backgrounded.
BUG=608360
Committed: https://crrev.com/6e7584a091cbb8078ed4289ffa739281bf170cbb
Cr-Commit-Position: refs/heads/master@{#421206}
Patch Set 1 #Patch Set 2 : change default impl to be a no-op #Patch Set 3 : clean up comment #Patch Set 4 : add test #
Total comments: 6
Patch Set 5 : fix comment #
Dependent Patchsets: Messages
Total messages: 29 (20 generated)
|