diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 15:58:16 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 15:58:16 +0000 |
commit | 7f7f19674990528290d019d36d588a6f02836f37 (patch) | |
tree | d65f07cd686bedd1c44c476076631bbedb7dfae7 /base/message_loop.h | |
parent | 7a0f342583a915bfa8a2cd02cd7f534bb6aa6930 (diff) | |
download | chromium_src-7f7f19674990528290d019d36d588a6f02836f37.zip chromium_src-7f7f19674990528290d019d36d588a6f02836f37.tar.gz chromium_src-7f7f19674990528290d019d36d588a6f02836f37.tar.bz2 |
Factor 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.
Review URL: http://codereview.chromium.org/6869034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.h')
0 files changed, 0 insertions, 0 deletions