diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 06:33:25 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 06:33:25 +0000 |
commit | aae5d6e59c825a4be4879d94872c084608219fa0 (patch) | |
tree | 6f66e5cce2e3230c010924f6ac6d8bb663eeab25 /chrome/browser/ui/browser_instant_controller.cc | |
parent | 55f4651a2411834f8135ca3aa7e0efa2c0d66efa (diff) | |
download | chromium_src-aae5d6e59c825a4be4879d94872c084608219fa0.zip chromium_src-aae5d6e59c825a4be4879d94872c084608219fa0.tar.gz chromium_src-aae5d6e59c825a4be4879d94872c084608219fa0.tar.bz2 |
SyncFS: Force cancelling uploads when network goes offline
When network becomes disconnected during uploading files
URLFetcher seems to get stuck (at least on Mac).
- To avoid this this patch forces cancelling ongoing uploads by
resetting drive_uploader_ on network disconnect event.
- During uploads DriveFileSyncClient keeps uploader callbacks
(rather than passing them to the uploader) so that killing the uploader
doesn't cause unexpected TaskToken loss.
BUG=223818
TEST=manual (see bug description)
Review URL: https://chromiumcodereview.appspot.com/12521029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_instant_controller.cc')
0 files changed, 0 insertions, 0 deletions