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

Issue 2338043002: Change DrainableIOBuffer to IBuffer and int* in FilterData() arguments (Closed)

Created:
4 years, 3 months ago by xunjieli
Modified:
4 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Randy Smith (Not in Mondays)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change DrainableIOBuffer to IBuffer and int* in FilterData() arguments R=mmenke@chromium.org CC=rdsmith@chromium.org BUG=474859 Committed: https://crrev.com/e4fd0c7797892096e05fc556ece67ad5e3f46fdb Cr-Commit-Position: refs/heads/master@{#418951}

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebased to r418859 and add DCHECKs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -26 lines) Patch
M net/filter/filter_source_stream.h View 1 chunk +6 lines, -5 lines 0 comments Download
M net/filter/filter_source_stream.cc View 1 2 chunks +12 lines, -3 lines 0 comments Download
M net/filter/filter_source_stream_unittest.cc View 6 chunks +30 lines, -18 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
xunjieli
PTAL. Thanks!
4 years, 3 months ago (2016-09-13 20:29:49 UTC) #1
mmenke
LGTM https://codereview.chromium.org/2338043002/diff/1/net/filter/filter_source_stream.cc File net/filter/filter_source_stream.cc (right): https://codereview.chromium.org/2338043002/diff/1/net/filter/filter_source_stream.cc#newcode133 net/filter/filter_source_stream.cc:133: &consumed_bytes, upstream_end_reached_); Maybe add: DCHECK_LE(consumed_bytes, drainable_input_buffer_->BytesRemaining()); DCHECK(bytes_output != ...
4 years, 3 months ago (2016-09-13 20:52:34 UTC) #2
Randy Smith (Not in Mondays)
LGTM. Thanks for your patience with all these interface tweaks. https://codereview.chromium.org/2338043002/diff/1/net/filter/filter_source_stream.cc File net/filter/filter_source_stream.cc (right): https://codereview.chromium.org/2338043002/diff/1/net/filter/filter_source_stream.cc#newcode133 ...
4 years, 3 months ago (2016-09-14 21:22:57 UTC) #4
xunjieli
Thanks for the review! https://codereview.chromium.org/2338043002/diff/1/net/filter/filter_source_stream.cc File net/filter/filter_source_stream.cc (right): https://codereview.chromium.org/2338043002/diff/1/net/filter/filter_source_stream.cc#newcode133 net/filter/filter_source_stream.cc:133: &consumed_bytes, upstream_end_reached_); On 2016/09/13 20:52:34, ...
4 years, 3 months ago (2016-09-15 14:20:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2338043002/20001
4 years, 3 months ago (2016-09-15 14:20:22 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/280428)
4 years, 3 months ago (2016-09-15 16:18:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2338043002/20001
4 years, 3 months ago (2016-09-15 18:29:53 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-15 20:20:41 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 20:22:42 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e4fd0c7797892096e05fc556ece67ad5e3f46fdb
Cr-Commit-Position: refs/heads/master@{#418951}

Powered by Google App Engine
This is Rietveld 408576698