|
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
Total comments: 2
|
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
|
Total messages: 11 (0 generated)
|