Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Issue 12235002: Add GetUploadStatus method to the DriveServiceInterface. (Closed)

Created:
7 years, 10 months ago by hidehiko
Modified:
7 years, 10 months ago
Reviewers:
hashimoto, satorux1, kinaba
CC:
chromium-reviews, achuith+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add GetUploadStatus method to the DriveServiceInterface. This CL adds a (stub) method GetUploadStatus to the DriveServiceInterface. The goal of adding this method is supporting retry on receiving 5xx http response from server for data uploading. The callback type of the method is as same as the one for ResumeUpload. So, it also renames ResumeUploadResponse and ResumeUploadCallback to UploadRangeResponse and UploadRangeCallback respectively. The params of the method is based on the experimental implementation. The actual implementation of {gdata_wapi,drive_api}_{service,operations} should be done in following CLs. BUG=148632 TEST=Ran unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181245

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase. #

Patch Set 3 : Fix unnecessary empty line. #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -61 lines) Patch
M chrome/browser/google_apis/drive_api_service.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/google_apis/drive_api_service.cc View 1 2 3 4 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/google_apis/drive_service_interface.h View 1 2 3 4 1 chunk +12 lines, -1 line 0 comments Download
M chrome/browser/google_apis/drive_uploader.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/google_apis/drive_uploader.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/google_apis/drive_uploader_unittest.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/google_apis/dummy_drive_service.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/google_apis/dummy_drive_service.cc View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/google_apis/fake_drive_service.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/google_apis/fake_drive_service.cc View 1 2 3 4 1 chunk +11 lines, -1 line 0 comments Download
M chrome/browser/google_apis/gdata_wapi_operations.h View 1 4 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_operations.cc View 1 5 chunks +11 lines, -12 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_operations_unittest.cc View 1 6 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_service.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/google_apis/gdata_wapi_service.cc View 1 2 3 4 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/google_apis/mock_drive_service.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
hidehiko
Thank you for your review in advance, - hidehiko
7 years, 10 months ago (2013-02-05 18:52:16 UTC) #1
hashimoto
About change description > The goal of adding the the method is supporting retry on ...
7 years, 10 months ago (2013-02-06 03:46:53 UTC) #2
hidehiko
Thank you for your review. Fixed the CL description. Please let me share the background ...
7 years, 10 months ago (2013-02-06 04:28:20 UTC) #3
hashimoto
On 2013/02/06 04:28:20, hidehiko wrote: > Thank you for your review. > Fixed the CL ...
7 years, 10 months ago (2013-02-06 04:40:06 UTC) #4
hashimoto
one nitty nit https://codereview.chromium.org/12235002/diff/1/chrome/browser/google_apis/gdata_wapi_service.h File chrome/browser/google_apis/gdata_wapi_service.h (right): https://codereview.chromium.org/12235002/diff/1/chrome/browser/google_apis/gdata_wapi_service.h#newcode122 chrome/browser/google_apis/gdata_wapi_service.h:122: nit: Remove this line.
7 years, 10 months ago (2013-02-06 04:44:51 UTC) #5
satorux1
LGTM. please fix the nit found by hashimoto
7 years, 10 months ago (2013-02-06 05:52:32 UTC) #6
hidehiko
Thank you for your review. As for the plan, yes, I'm thinking to send a ...
7 years, 10 months ago (2013-02-06 06:13:49 UTC) #7
kinaba
lgtm
7 years, 10 months ago (2013-02-06 06:14:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/12235002/18018
7 years, 10 months ago (2013-02-06 19:23:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/12235002/18018
7 years, 10 months ago (2013-02-07 06:12:20 UTC) #10
commit-bot: I haz the power
7 years, 10 months ago (2013-02-07 07:20:44 UTC) #11
Message was sent while issue was closed.
Change committed as 181245

Powered by Google App Engine
This is Rietveld 408576698