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

Issue 1084523002: Files.app: Implement sending batch requests. (Closed)

Created:
5 years, 8 months ago by hirono
Modified:
5 years, 8 months ago
Reviewers:
Nico, kinaba
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Files.app: Implement sending batch requests. * Wait for preparation of each child request. * Then generate multipart request that consists each child request. BUG=451917 TEST=DriveApiRequestsTest.BatchUploadRequest Committed: https://crrev.com/289a1e6dc3bde6c00496a3ce6d19e4258dcfd073 Cr-Commit-Position: refs/heads/master@{#325209}

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Remove unused lines in test. #

Patch Set 4 : Adressed comments. #

Patch Set 5 : Fix complier error on mac #

Patch Set 6 : Fix memory leak in the test. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -14 lines) Patch
M google_apis/drive/drive_api_requests.h View 1 2 3 2 chunks +43 lines, -7 lines 0 comments Download
M google_apis/drive/drive_api_requests.cc View 1 2 3 4 4 chunks +160 lines, -7 lines 0 comments Download
M google_apis/drive/drive_api_requests_unittest.cc View 1 2 3 4 5 4 chunks +112 lines, -0 lines 1 comment Download

Messages

Total messages: 25 (9 generated)
hirono
PTAL, thanks! The method of URLGenerator for batch uploading will be added by crrev.com/1081033002.
5 years, 8 months ago (2015-04-13 08:08:17 UTC) #2
kinaba
https://codereview.chromium.org/1084523002/diff/20001/google_apis/drive/drive_api_requests.cc File google_apis/drive/drive_api_requests.cc (right): https://codereview.chromium.org/1084523002/diff/20001/google_apis/drive/drive_api_requests.cc#newcode27 google_apis/drive/drive_api_requests.cc:27: "Host: www.googleapis.com\n" How about getting the Host domain info ...
5 years, 8 months ago (2015-04-13 08:25:28 UTC) #3
hirono
https://codereview.chromium.org/1084523002/diff/20001/google_apis/drive/drive_api_requests.cc File google_apis/drive/drive_api_requests.cc (right): https://codereview.chromium.org/1084523002/diff/20001/google_apis/drive/drive_api_requests.cc#newcode27 google_apis/drive/drive_api_requests.cc:27: "Host: www.googleapis.com\n" On 2015/04/13 08:25:27, kinaba wrote: > How ...
5 years, 8 months ago (2015-04-13 09:16:10 UTC) #4
kinaba
lgtm
5 years, 8 months ago (2015-04-14 02:33:59 UTC) #5
hirono
On 2015/04/14 02:33:59, kinaba wrote: > lgtm Thanks!
5 years, 8 months ago (2015-04-14 02:48:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1084523002/60001
5 years, 8 months ago (2015-04-14 02:48:48 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/42876)
5 years, 8 months ago (2015-04-14 03:18:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1084523002/80001
5 years, 8 months ago (2015-04-14 04:07:36 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/55137)
5 years, 8 months ago (2015-04-14 06:16:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1084523002/100001
5 years, 8 months ago (2015-04-15 05:21:28 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-15 08:27:16 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/289a1e6dc3bde6c00496a3ce6d19e4258dcfd073 Cr-Commit-Position: refs/heads/master@{#325209}
5 years, 8 months ago (2015-04-15 08:28:11 UTC) #20
Nico
This new test seems to fail when doing an official build: http://build.chromium.org/p/chromium.fyi/builders/CrWinClang%20tester/builds/342
5 years, 8 months ago (2015-04-15 14:24:08 UTC) #22
Nico
Here too: http://build.chromium.org/p/chromium.fyi/builders/CrWinClang64%20tester/builds/78
5 years, 8 months ago (2015-04-15 14:24:36 UTC) #23
Nico
https://codereview.chromium.org/1084523002/diff/100001/google_apis/drive/drive_api_requests_unittest.cc File google_apis/drive/drive_api_requests_unittest.cc (right): https://codereview.chromium.org/1084523002/diff/100001/google_apis/drive/drive_api_requests_unittest.cc#newcode2000 google_apis/drive/drive_api_requests_unittest.cc:2000: EXPECT_DEATH(request->Commit(), "Check failed"); Aha, that's because official builds compile ...
5 years, 8 months ago (2015-04-15 14:25:51 UTC) #24
Nico
5 years, 8 months ago (2015-04-15 15:05:45 UTC) #25
Message was sent while issue was closed.
Fix: https://codereview.chromium.org/1052553004/

Powered by Google App Engine
This is Rietveld 408576698