Chromium Code Reviews
DescriptionFactor a scheduler object out of MetricsService.
The logic for when to upload is now separate from the core of MetricsService. For now the object is internally constructed so that the MetricsService interface doesn't change, but it could easily be pulled out later if we need DI-style construction.
Fixes a bug where backoff for server errors would be bypassed if the logs were large.
Also removes a bit of dead code I missed when removing the server response parsing in the last CL.
BUG=None
TEST=Metrics continue to show up on the dashboards unchanged.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82299
Patch Set 1 #Patch Set 2 : Comment fix #
Total comments: 18
Patch Set 3 : Address most review comments #
Total comments: 3
Patch Set 4 : Switch from friend to Callback #Patch Set 5 : Rebased to trunk #
Messages
Total messages: 12 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||