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

Issue 12224026: Extract UploadRangeOperationBase class from ResumeUploadOperation. (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

Extract UploadRangeOperationBase class from ResumeUploadOperation. The newly being introduced class GetUploadStatusOperation looks very similar to ResumeUploadOperation, especially the access url, http method, and how to handle the response from the server. The diff should be the request header and body (content) (along with it, progress update). As a preparation of the implemetation of GetUploadStatusOperation, the base class is extracted. BUG=148632 TEST=Ran unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181279

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Expand params for ResumeUploadOperation to the field. #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Fix nitpicks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -70 lines) Patch
M chrome/browser/google_apis/gdata_wapi_operations.h View 1 5 chunks +66 lines, -32 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_operations.cc View 1 2 3 5 chunks +66 lines, -38 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
hidehiko
This CL depends on https://codereview.chromium.org/12224026/, which is LGTM'ed, but still is in CQ. The following ...
7 years, 10 months ago (2013-02-06 15:03:43 UTC) #1
hashimoto
On 2013/02/06 15:03:43, hidehiko wrote: > This CL depends on https://codereview.chromium.org/12224026/, You meant https://codereview.chromium.org/12235002/? > ...
7 years, 10 months ago (2013-02-07 05:40:19 UTC) #2
satorux1
https://codereview.chromium.org/12224026/diff/10005/chrome/browser/google_apis/gdata_wapi_operations.h File chrome/browser/google_apis/gdata_wapi_operations.h (right): https://codereview.chromium.org/12224026/diff/10005/chrome/browser/google_apis/gdata_wapi_operations.h#newcode559 chrome/browser/google_apis/gdata_wapi_operations.h:559: const ResumeUploadParams params_; Can we replace params_ with some ...
7 years, 10 months ago (2013-02-07 05:43:34 UTC) #3
hidehiko
Thank you for your review. >> This CL depends on https://codereview.chromium.org/12224026/, > You meant https://codereview.chromium.org/12235002/? ...
7 years, 10 months ago (2013-02-07 06:18:22 UTC) #4
satorux1
LGTM https://codereview.chromium.org/12224026/diff/4005/chrome/browser/google_apis/gdata_wapi_operations.cc File chrome/browser/google_apis/gdata_wapi_operations.cc (right): https://codereview.chromium.org/12224026/diff/4005/chrome/browser/google_apis/gdata_wapi_operations.cc#newcode743 chrome/browser/google_apis/gdata_wapi_operations.cc:743: buf_(params.buf) {} nit: move } to the next ...
7 years, 10 months ago (2013-02-07 06:42:41 UTC) #5
hashimoto
lgtm https://codereview.chromium.org/12224026/diff/4005/chrome/browser/google_apis/gdata_wapi_operations.cc File chrome/browser/google_apis/gdata_wapi_operations.cc (right): https://codereview.chromium.org/12224026/diff/4005/chrome/browser/google_apis/gdata_wapi_operations.cc#newcode778 chrome/browser/google_apis/gdata_wapi_operations.cc:778: *upload_content = std::string(buf_->data(), end_position_ - start_position_); nit: How ...
7 years, 10 months ago (2013-02-07 06:43:33 UTC) #6
kinaba
lgtm
7 years, 10 months ago (2013-02-07 07:00:10 UTC) #7
hidehiko
Thank you for your review. Submitting... https://codereview.chromium.org/12224026/diff/4005/chrome/browser/google_apis/gdata_wapi_operations.cc File chrome/browser/google_apis/gdata_wapi_operations.cc (right): https://codereview.chromium.org/12224026/diff/4005/chrome/browser/google_apis/gdata_wapi_operations.cc#newcode743 chrome/browser/google_apis/gdata_wapi_operations.cc:743: buf_(params.buf) {} On ...
7 years, 10 months ago (2013-02-07 07:57:06 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/12224026/7009
7 years, 10 months ago (2013-02-07 07:57:52 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-07 10:50:43 UTC) #10
Message was sent while issue was closed.
Change committed as 181279

Powered by Google App Engine
This is Rietveld 408576698