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

Issue 2373003003: Switch to use net::FilterSourceStream from net::Filter (Closed)

Created:
4 years, 2 months ago by xunjieli
Modified:
4 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch to use net::FilterSourceStream from net::Filter This CL switches filter implementation from net::Filter to the new pull-based interface, net::FilterSourceStream. BUG=474859 Committed: https://crrev.com/28a187760807a40049084627465be82a5d1e3118 Cr-Commit-Position: refs/heads/master@{#427358}

Patch Set 1 : Same as base CL 1662763002 #

Patch Set 2 : Fix compile and sync to 303a16654cc0cc8ef9eeacaccd122dc59cc16f83 #

Patch Set 3 : Edit url_data_manager_backend.cc #

Total comments: 12

Patch Set 4 : address Matt's comments and fix url_data_manager_backend.cc #

Total comments: 22

Patch Set 5 : Address Comments #

Patch Set 6 : Fix Meta refresh logic in the dependent CL #

Patch Set 7 : Rebased again #

Patch Set 8 : Change ownership of SdchPolicyDelegate #

Patch Set 9 : Make URLRequestHttpJob call URLRequestJob::DestroySourceStream() #

Patch Set 10 : Rebased to upstream #

Patch Set 11 : Rebased #

Patch Set 12 : rebased onto sdch fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -483 lines) Patch
M content/browser/webui/url_data_manager_backend.cc View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -4 lines 0 comments Download
M net/base/net_error_list.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M net/filter/sdch_policy_delegate.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -3 lines 0 comments Download
M net/url_request/url_request_file_job.h View 3 chunks +4 lines, -1 line 0 comments Download
M net/url_request/url_request_file_job.cc View 1 3 chunks +10 lines, -8 lines 0 comments Download
M net/url_request/url_request_http_job.h View 1 2 3 4 5 6 7 8 9 6 chunks +4 lines, -6 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 6 7 8 9 10 chunks +97 lines, -131 lines 0 comments Download
M net/url_request/url_request_http_job_unittest.cc View 1 2 3 4 4 chunks +100 lines, -11 lines 0 comments Download
M net/url_request/url_request_job.h View 1 2 3 4 5 6 7 8 7 chunks +30 lines, -48 lines 0 comments Download
M net/url_request/url_request_job.cc View 1 2 3 4 5 6 7 8 9 10 15 chunks +129 lines, -266 lines 0 comments Download
M net/url_request/url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 10 chunks +50 lines, -5 lines 0 comments Download
M net/url_request/url_request_test_util.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 98 (72 generated)
xunjieli
Matt, The Gzip and Sdch filters are in review. I thought I'd send this out ...
4 years, 2 months ago (2016-09-27 17:56:18 UTC) #13
mmenke
This is looking pretty good to me, don't think it's going to need too many ...
4 years, 2 months ago (2016-09-27 19:13:22 UTC) #14
xunjieli
Thanks for the review! PTAL. https://codereview.chromium.org/2373003003/diff/80001/net/url_request/url_request_http_job.cc File net/url_request/url_request_http_job.cc (right): https://codereview.chromium.org/2373003003/diff/80001/net/url_request/url_request_http_job.cc#newcode1162 net/url_request/url_request_http_job.cc:1162: } On 2016/09/27 19:13:22, ...
4 years, 2 months ago (2016-09-27 19:50:30 UTC) #17
mmenke
Expect to sign off on this after another pass tomorrow. https://codereview.chromium.org/2373003003/diff/80001/net/url_request/url_request_job.cc File net/url_request/url_request_job.cc (right): https://codereview.chromium.org/2373003003/diff/80001/net/url_request/url_request_job.cc#newcode734 ...
4 years, 2 months ago (2016-09-27 20:33:01 UTC) #19
xunjieli
dbeam@chromium.org: Please review changes in content/browser/webui/url_data_manager_backend.cc mmenke@: Thanks, Matt. Please take your time. I am ...
4 years, 2 months ago (2016-09-27 20:42:56 UTC) #21
Dan Beam
lgtm w/nit https://codereview.chromium.org/2373003003/diff/120001/content/browser/webui/url_data_manager_backend.cc File content/browser/webui/url_data_manager_backend.cc (right): https://codereview.chromium.org/2373003003/diff/120001/content/browser/webui/url_data_manager_backend.cc#newcode396 content/browser/webui/url_data_manager_backend.cc:396: std::unique_ptr<net::SourceStream> URLRequestChromeJob::SetUpSourceStream() { can't this more simply ...
4 years, 2 months ago (2016-09-27 22:53:10 UTC) #24
xunjieli
Thanks! https://codereview.chromium.org/2373003003/diff/120001/content/browser/webui/url_data_manager_backend.cc File content/browser/webui/url_data_manager_backend.cc (right): https://codereview.chromium.org/2373003003/diff/120001/content/browser/webui/url_data_manager_backend.cc#newcode396 content/browser/webui/url_data_manager_backend.cc:396: std::unique_ptr<net::SourceStream> URLRequestChromeJob::SetUpSourceStream() { On 2016/09/27 22:53:10, Dan Beam ...
4 years, 2 months ago (2016-09-27 23:43:17 UTC) #25
mmenke
Is this CL expected to break the SDCH blacklist behavior?
4 years, 2 months ago (2016-09-28 19:52:54 UTC) #26
mmenke
Just holding off on the L-G-T-M for the SDCH test issue. https://codereview.chromium.org/2373003003/diff/120001/net/url_request/url_request_http_job.cc File net/url_request/url_request_http_job.cc (right): ...
4 years, 2 months ago (2016-09-28 20:24:28 UTC) #27
xunjieli
Thanks! Bots should be happy now. There is a bug in the SdchSourceStream on meta-refresh, ...
4 years, 2 months ago (2016-09-30 17:28:24 UTC) #35
xunjieli
On 2016/09/30 17:28:24, xunjieli wrote: > Thanks! Bots should be happy now. There is a ...
4 years, 2 months ago (2016-09-30 17:51:53 UTC) #38
xunjieli
Tests have passed. Thanks for the patience! On Fri, Sep 30, 2016, 1:52 PM <xunjieli@chromium.org> ...
4 years, 2 months ago (2016-09-30 21:08:56 UTC) #43
mmenke
What's the difference between sets 5 and 6? On 2016/09/30 21:08:56, xunjieli wrote: > Tests ...
4 years, 2 months ago (2016-09-30 21:55:24 UTC) #44
xunjieli
On 2016/09/30 21:55:24, mmenke wrote: > What's the difference between sets 5 and 6? Sorry, ...
4 years, 2 months ago (2016-10-01 13:12:02 UTC) #45
mmenke
LGTM, great to see these CLs nearing completion! Your new API is so much better.
4 years, 2 months ago (2016-10-03 15:40:04 UTC) #46
xunjieli
+rdsmith@: Hi Randy, PTAL at diffs between PS#6 and PS#7. Thanks!
4 years, 2 months ago (2016-10-10 19:36:28 UTC) #61
xunjieli
On 2016/10/10 19:36:28, xunjieli wrote: > +rdsmith@: > > Hi Randy, PTAL at diffs between ...
4 years, 2 months ago (2016-10-12 14:10:03 UTC) #68
xunjieli
On 2016/10/12 14:10:03, xunjieli wrote: > On 2016/10/10 19:36:28, xunjieli wrote: > > +rdsmith@: > ...
4 years, 2 months ago (2016-10-13 17:49:05 UTC) #73
Randy Smith (Not in Mondays)
So I looked through this and didn't find any problems, but I was basically reviewing ...
4 years, 2 months ago (2016-10-13 22:06:37 UTC) #76
Randy Smith (Not in Mondays)
LGTM.
4 years, 2 months ago (2016-10-19 19:50:05 UTC) #81
mmenke
[xunjieli]: Planning on landing this today?
4 years, 1 month ago (2016-10-24 17:54:30 UTC) #86
xunjieli
On 2016/10/24 17:54:30, mmenke wrote: > [xunjieli]: Planning on landing this today? Ah, sorry, should ...
4 years, 1 month ago (2016-10-24 17:56:44 UTC) #87
xunjieli
Thanks everyone for the review. I will be checking in this today. I did some ...
4 years, 1 month ago (2016-10-25 14:38:39 UTC) #90
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/2373003003/400001
4 years, 1 month ago (2016-10-25 14:39:21 UTC) #94
commit-bot: I haz the power
Committed patchset #12 (id:400001)
4 years, 1 month ago (2016-10-25 15:30:37 UTC) #96
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 15:43:54 UTC) #98
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/28a187760807a40049084627465be82a5d1e3118
Cr-Commit-Position: refs/heads/master@{#427358}

Powered by Google App Engine
This is Rietveld 408576698