diff options
author | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-01 01:41:01 +0000 |
---|---|---|
committer | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-01 01:41:01 +0000 |
commit | f98c872535c74b04fe98f30b0ad5845d62a360af (patch) | |
tree | 4fba85c653dc1171a42ae214a29f30a71d0ddb03 /chrome/browser/idle_android.cc | |
parent | ae61bcaa954e5ff0075112601320fe753a1e15e7 (diff) | |
download | chromium_src-f98c872535c74b04fe98f30b0ad5845d62a360af.zip chromium_src-f98c872535c74b04fe98f30b0ad5845d62a360af.tar.gz chromium_src-f98c872535c74b04fe98f30b0ad5845d62a360af.tar.bz2 |
Fix race condition in uploading feedback reports.
It is possible that if the browser starts and shuts down really quickly, we may end up with a race where the context passed to LoadReports has been nullified. We can completely avoid this race by simply passing in the user directory to LoadReportsAndQueue since the method doesn't really need the context for anything else.
R=zork@chromium.org
BUG=345805
Review URL: https://codereview.chromium.org/185003005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254314 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/idle_android.cc')
0 files changed, 0 insertions, 0 deletions