diff options
author | hansl@google.com <hansl@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-22 03:20:59 +0000 |
---|---|---|
committer | hansl@google.com <hansl@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-22 03:20:59 +0000 |
commit | 23f919a74a2deedf4e49391f60ff2c36d9710c54 (patch) | |
tree | 125fd164b9ff632c91ef27d20c6b8326a39081e1 /chrome_frame | |
parent | fb7ad0741fd0d1675da8ea8a13c4124fc81135de (diff) | |
download | chromium_src-23f919a74a2deedf4e49391f60ff2c36d9710c54.zip chromium_src-23f919a74a2deedf4e49391f60ff2c36d9710c54.tar.gz chromium_src-23f919a74a2deedf4e49391f60ff2c36d9710c54.tar.bz2 |
Upload data when Stopping the service.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/5103006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66922 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/metrics_service.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome_frame/metrics_service.cc b/chrome_frame/metrics_service.cc index eecf468..a3af50a 100644 --- a/chrome_frame/metrics_service.cc +++ b/chrome_frame/metrics_service.cc @@ -471,6 +471,8 @@ void MetricsService::SetReporting(bool enable) { SetTimer(NULL, kChromeFrameMetricsTimerId, kInitialUMAUploadTimeoutMilliSeconds, reinterpret_cast<TIMERPROC>(TransmissionTimerProc)); + } else { + UploadData(); } } } |