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

Issue 620303002: Implement WebDataConsumerHandle. (Closed)

Created:
6 years, 2 months ago by yhirano
Modified:
6 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implement WebDataConsumerHandle. This CL implements WebDataConsumerHandleImpl, a subclass of WebDataConsumerHandle. This class will be used by fetch API with Streams. BUG=418879 Committed: https://crrev.com/afb2ae608b792b38514f293bc0c887e4a61bfecb Cr-Commit-Position: refs/heads/master@{#302006}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Total comments: 16

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 12

Patch Set 8 : #

Total comments: 3

Patch Set 9 : #

Total comments: 5

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+434 lines, -0 lines) Patch
A content/child/web_data_consumer_handle_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +40 lines, -0 lines 0 comments Download
A content/child/web_data_consumer_handle_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +116 lines, -0 lines 0 comments Download
A content/child/web_data_consumer_handle_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +270 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 12 2 chunks +2 lines, -0 lines 0 comments Download
M content/test/run_all_unittests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (5 generated)
yhirano
Blink side CL: https://codereview.chromium.org/626803002/
6 years, 2 months ago (2014-10-03 07:51:48 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/620303002/diff/40001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/40001/content/child/web_data_consumer_handle_impl.cc#newcode7 content/child/web_data_consumer_handle_impl.cc:7: #include <numeric> limits? https://codereview.chromium.org/620303002/diff/40001/content/child/web_data_consumer_handle_impl.cc#newcode9 content/child/web_data_consumer_handle_impl.cc:9: #include "base/logging.h" include src/mojo/public/c/system/types.h ...
6 years, 2 months ago (2014-10-23 07:22:43 UTC) #3
yhirano
https://codereview.chromium.org/620303002/diff/40001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/40001/content/child/web_data_consumer_handle_impl.cc#newcode7 content/child/web_data_consumer_handle_impl.cc:7: #include <numeric> On 2014/10/23 07:22:43, tyoshino wrote: > limits? ...
6 years, 2 months ago (2014-10-23 08:35:39 UTC) #4
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/620303002/diff/40001/content/child/web_data_consumer_handle_impl.h File content/child/web_data_consumer_handle_impl.h (right): https://codereview.chromium.org/620303002/diff/40001/content/child/web_data_consumer_handle_impl.h#newcode22 content/child/web_data_consumer_handle_impl.h:22: size_t* readSize) override; On 2014/10/23 08:35:39, yhirano wrote: > ...
6 years, 2 months ago (2014-10-23 09:38:51 UTC) #5
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/620303002/diff/60001/content/child/web_data_consumer_handle_impl_unittest.cc File content/child/web_data_consumer_handle_impl_unittest.cc (right): https://codereview.chromium.org/620303002/diff/60001/content/child/web_data_consumer_handle_impl_unittest.cc#newcode134 content/child/web_data_consumer_handle_impl_unittest.cc:134: size_t read_size = std::max(static_cast<size_t>(1), size); On 2014/10/23 09:38:50, tyoshino ...
6 years, 2 months ago (2014-10-23 11:18:18 UTC) #6
yhirano
https://codereview.chromium.org/620303002/diff/60001/content/child/web_data_consumer_handle_impl_unittest.cc File content/child/web_data_consumer_handle_impl_unittest.cc (right): https://codereview.chromium.org/620303002/diff/60001/content/child/web_data_consumer_handle_impl_unittest.cc#newcode57 content/child/web_data_consumer_handle_impl_unittest.cc:57: const base::Closure& stop) On 2014/10/23 09:38:51, tyoshino wrote: > ...
6 years, 2 months ago (2014-10-23 12:01:06 UTC) #7
tyoshino (SeeGerritForStatus)
lgtm
6 years, 2 months ago (2014-10-24 13:46:33 UTC) #8
yhirano
+nasko for OWNER review.
6 years, 2 months ago (2014-10-24 15:12:49 UTC) #10
nasko
Mostly style issues. https://codereview.chromium.org/620303002/diff/120001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/120001/content/child/web_data_consumer_handle_impl.cc#newcode22 content/child/web_data_consumer_handle_impl.cc:22: void* data, size_t size, Flags flags, ...
6 years, 2 months ago (2014-10-24 18:13:43 UTC) #11
yhirano
https://codereview.chromium.org/620303002/diff/120001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/120001/content/child/web_data_consumer_handle_impl.cc#newcode22 content/child/web_data_consumer_handle_impl.cc:22: void* data, size_t size, Flags flags, size_t* read_size) { ...
6 years, 1 month ago (2014-10-27 01:11:52 UTC) #12
nasko
LGTM, provided the complex statements are broken into separate statements. https://codereview.chromium.org/620303002/diff/140001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/140001/content/child/web_data_consumer_handle_impl.cc#newcode36 ...
6 years, 1 month ago (2014-10-27 16:53:41 UTC) #13
yhirano
https://codereview.chromium.org/620303002/diff/140001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/140001/content/child/web_data_consumer_handle_impl.cc#newcode36 content/child/web_data_consumer_handle_impl.cc:36: rv == MOJO_RESULT_OK ? size_to_pass : 0; On 2014/10/27 ...
6 years, 1 month ago (2014-10-28 01:54:47 UTC) #14
nasko
https://codereview.chromium.org/620303002/diff/140001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/140001/content/child/web_data_consumer_handle_impl.cc#newcode36 content/child/web_data_consumer_handle_impl.cc:36: rv == MOJO_RESULT_OK ? size_to_pass : 0; On 2014/10/28 ...
6 years, 1 month ago (2014-10-28 04:10:19 UTC) #15
yhirano
https://codereview.chromium.org/620303002/diff/160001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/160001/content/child/web_data_consumer_handle_impl.cc#newcode63 content/child/web_data_consumer_handle_impl.cc:63: rv == MOJO_RESULT_OK ? Ok : UnexpectedError; On 2014/10/28 ...
6 years, 1 month ago (2014-10-28 04:24:34 UTC) #16
nasko
https://codereview.chromium.org/620303002/diff/160001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/160001/content/child/web_data_consumer_handle_impl.cc#newcode63 content/child/web_data_consumer_handle_impl.cc:63: rv == MOJO_RESULT_OK ? Ok : UnexpectedError; On 2014/10/28 ...
6 years, 1 month ago (2014-10-28 05:05:21 UTC) #17
yhirano
https://codereview.chromium.org/620303002/diff/160001/content/child/web_data_consumer_handle_impl.cc File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/620303002/diff/160001/content/child/web_data_consumer_handle_impl.cc#newcode56 content/child/web_data_consumer_handle_impl.cc:56: *available = rv == Ok ? size_to_pass : 0; ...
6 years, 1 month ago (2014-10-28 05:21:02 UTC) #18
nasko
lgtm
6 years, 1 month ago (2014-10-28 14:00:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/620303002/180001
6 years, 1 month ago (2014-10-28 14:32:16 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/22820)
6 years, 1 month ago (2014-10-28 14:39:32 UTC) #23
yhirano
nasko@: I updated the CL to avoid build failures. Can you take a look at ...
6 years, 1 month ago (2014-10-29 08:06:17 UTC) #24
nasko
LGTM
6 years, 1 month ago (2014-10-29 18:01:56 UTC) #25
yhirano
Thanks!
6 years, 1 month ago (2014-10-30 00:26:36 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/620303002/300001
6 years, 1 month ago (2014-10-30 00:28:26 UTC) #28
commit-bot: I haz the power
Committed patchset #16 (id:300001)
6 years, 1 month ago (2014-10-30 01:17:35 UTC) #29
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 01:18:23 UTC) #30
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/afb2ae608b792b38514f293bc0c887e4a61bfecb
Cr-Commit-Position: refs/heads/master@{#302006}

Powered by Google App Engine
This is Rietveld 408576698