diff options
author | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-12 05:18:33 +0000 |
---|---|---|
committer | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-12 05:18:33 +0000 |
commit | 0d2bd8b4c40f047a5c7e8163efd5ca87a9c34094 (patch) | |
tree | 08ceeb4a32d801108696df277c77784d9f0817d0 /ppapi | |
parent | 01ffe4a4877e0b0bc1e03380548d1f1ef4771583 (diff) | |
download | chromium_src-0d2bd8b4c40f047a5c7e8163efd5ca87a9c34094.zip chromium_src-0d2bd8b4c40f047a5c7e8163efd5ca87a9c34094.tar.gz chromium_src-0d2bd8b4c40f047a5c7e8163efd5ca87a9c34094.tar.bz2 |
drive: Represent upload range in half-open interval [start, end), not [start, end].
In DriveUploader::UploadFileInfo, ResumeUploadParams, and ResumeUploadResponse,
this patch changes the range representation to be exclusive for |end_range|.
This makes less -1's and +1's in the high level code.
Conversion from/to the inclusive range required in the HTTP protocol
is carried out in the lowest level: ResumeUploadOperation.
BUG=163486
Review URL: https://codereview.chromium.org/11474052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
0 files changed, 0 insertions, 0 deletions