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

Issue 12207075: Split InitiateUpload method into two. (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@b148632_extract_initiate_upload_operation_base
Visibility:
Public.

Description

Split InitiateUpload method into two. This is the preparation to replace upload urls to resource ids. After this CL, InitiateUploadXXX methods can be supported on Drive API v2. BUG=148632 TEST=Ran unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182356

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Rebase. #

Total comments: 2

Patch Set 3 : Fix include directive. #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -289 lines) Patch
M chrome/browser/google_apis/base_operations.h View 1 2 3 2 chunks +0 lines, -38 lines 0 comments Download
M chrome/browser/google_apis/base_operations.cc View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/browser/google_apis/drive_api_service.h View 1 2 3 1 chunk +13 lines, -2 lines 0 comments Download
M chrome/browser/google_apis/drive_api_service.cc View 1 2 3 1 chunk +21 lines, -3 lines 0 comments Download
M chrome/browser/google_apis/drive_service_interface.h View 1 2 3 1 chunk +24 lines, -3 lines 0 comments Download
M chrome/browser/google_apis/drive_uploader.h View 2 chunks +25 lines, -5 lines 0 comments Download
M chrome/browser/google_apis/drive_uploader.cc View 1 2 3 9 chunks +72 lines, -58 lines 0 comments Download
M chrome/browser/google_apis/drive_uploader_unittest.cc View 1 2 3 3 chunks +65 lines, -15 lines 0 comments Download
M chrome/browser/google_apis/dummy_drive_service.h View 1 2 3 1 chunk +14 lines, -2 lines 0 comments Download
M chrome/browser/google_apis/dummy_drive_service.cc View 1 2 3 1 chunk +15 lines, -3 lines 0 comments Download
M chrome/browser/google_apis/fake_drive_service.h View 1 2 3 1 chunk +14 lines, -2 lines 0 comments Download
M chrome/browser/google_apis/fake_drive_service.cc View 1 2 3 6 chunks +48 lines, -21 lines 0 comments Download
M chrome/browser/google_apis/fake_drive_service_unittest.cc View 1 2 3 9 chunks +99 lines, -85 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_service.h View 1 2 3 1 chunk +13 lines, -2 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_service.cc View 1 2 3 1 chunk +41 lines, -28 lines 0 comments Download
M chrome/browser/google_apis/mock_drive_service.h View 1 2 3 1 chunk +13 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hidehiko
Thank you for your review in advnace, - hidehiko
7 years, 10 months ago (2013-02-08 09:31:05 UTC) #1
kinaba
lgtm
7 years, 10 months ago (2013-02-08 10:04:06 UTC) #2
hashimoto
lgtm with a nit https://codereview.chromium.org/12207075/diff/2001/chrome/browser/google_apis/gdata_wapi_service.cc File chrome/browser/google_apis/gdata_wapi_service.cc (right): https://codereview.chromium.org/12207075/diff/2001/chrome/browser/google_apis/gdata_wapi_service.cc#newcode421 chrome/browser/google_apis/gdata_wapi_service.cc:421: if (parent_upload_url.is_empty()) { nit: DriveUploader ...
7 years, 10 months ago (2013-02-08 10:14:57 UTC) #3
hashimoto
Noticed another nit. https://codereview.chromium.org/12207075/diff/4004/chrome/browser/google_apis/base_operations.h File chrome/browser/google_apis/base_operations.h (right): https://codereview.chromium.org/12207075/diff/4004/chrome/browser/google_apis/base_operations.h#newcode15 chrome/browser/google_apis/base_operations.h:15: #include "chrome/browser/google_apis/drive_upload_mode.h" nit: no need to ...
7 years, 10 months ago (2013-02-08 11:34:02 UTC) #4
hidehiko
Thank you for your review. https://codereview.chromium.org/12207075/diff/2001/chrome/browser/google_apis/gdata_wapi_service.cc File chrome/browser/google_apis/gdata_wapi_service.cc (right): https://codereview.chromium.org/12207075/diff/2001/chrome/browser/google_apis/gdata_wapi_service.cc#newcode421 chrome/browser/google_apis/gdata_wapi_service.cc:421: if (parent_upload_url.is_empty()) { On ...
7 years, 10 months ago (2013-02-08 12:01:49 UTC) #5
hashimoto
https://codereview.chromium.org/12207075/diff/2001/chrome/browser/google_apis/gdata_wapi_service.cc File chrome/browser/google_apis/gdata_wapi_service.cc (right): https://codereview.chromium.org/12207075/diff/2001/chrome/browser/google_apis/gdata_wapi_service.cc#newcode421 chrome/browser/google_apis/gdata_wapi_service.cc:421: if (parent_upload_url.is_empty()) { On 2013/02/08 12:01:50, hidehiko wrote: > ...
7 years, 10 months ago (2013-02-08 12:45:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/12207075/3017
7 years, 10 months ago (2013-02-12 05:01:30 UTC) #7
commit-bot: I haz the power
Failed to apply patch for chrome/browser/google_apis/base_operations.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-12 05:01:39 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/12207075/6002
7 years, 10 months ago (2013-02-12 05:25:15 UTC) #9
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98543
7 years, 10 months ago (2013-02-12 06:30:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/12207075/6002
7 years, 10 months ago (2013-02-12 06:30:59 UTC) #11
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98570
7 years, 10 months ago (2013-02-12 07:59:02 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/12207075/6002
7 years, 10 months ago (2013-02-12 07:59:36 UTC) #13
satorux1
This patch is a bit worrisome as it's large thus could make merging fixes to ...
7 years, 10 months ago (2013-02-12 09:47:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/12207075/6002
7 years, 10 months ago (2013-02-13 19:30:32 UTC) #15
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 00:54:14 UTC) #16
Message was sent while issue was closed.
Change committed as 182356

Powered by Google App Engine
This is Rietveld 408576698