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

Issue 2521573006: Server push cancellation: change the ownership of ServerPushDelegate to HttpNetworkSession. (Closed)

Created:
4 years ago by Zhongyi Shi
Modified:
4 years ago
Reviewers:
Buck, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Server push cancellation: add a setter method for server push delegate in HttpNetworkSession. Plumb the server push delegate to QuicStreamFactory/SpdySessionPool so that QuicChromiumClientSession/SpdySession takes server push delegate in contructor. BUG=232040 Committed: https://crrev.com/af25754e6d51d71bd346ac56e36e40ca1ec3803d Cr-Commit-Position: refs/heads/master@{#439397}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Total comments: 4

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -25 lines) Patch
M net/http/http_network_session.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_client_session.h View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_session.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_client_session_test.cc View 1 2 4 chunks +2 lines, -4 lines 0 comments Download
M net/quic/chromium/quic_http_stream_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_stream_factory.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M net/spdy/spdy_session.h View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/spdy/spdy_session_pool.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_pool.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 2 9 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
Zhongyi Shi
4 years ago (2016-11-23 02:29:38 UTC) #2
Ryan Hamilton
I think the CL description is a bit off. It doesn't seem like it's *moving* ...
4 years ago (2016-11-23 04:22:41 UTC) #3
Zhongyi Shi
On 2016/11/23 04:22:41, Ryan Hamilton wrote: > I think the CL description is a bit ...
4 years ago (2016-11-23 06:19:37 UTC) #5
Zhongyi Shi
https://codereview.chromium.org/2521573006/diff/1/net/http/http_network_session.h File net/http/http_network_session.h (right): https://codereview.chromium.org/2521573006/diff/1/net/http/http_network_session.h#newcode274 net/http/http_network_session.h:274: // |quic_stream_factory_| and |spdy_session_pool_|. On 2016/11/23 04:22:41, Ryan Hamilton ...
4 years ago (2016-11-23 06:20:02 UTC) #6
Buck
lgtm
4 years ago (2016-11-23 20:18:36 UTC) #7
Ryan Hamilton
two small questions. https://codereview.chromium.org/2521573006/diff/20001/net/quic/chromium/quic_chromium_client_session.h File net/quic/chromium/quic_chromium_client_session.h (right): https://codereview.chromium.org/2521573006/diff/20001/net/quic/chromium/quic_chromium_client_session.h#newcode134 net/quic/chromium/quic_chromium_client_session.h:134: ServerPushDelegate* push_delegate, Should this method DCHECK ...
4 years ago (2016-11-23 20:43:30 UTC) #8
Zhongyi Shi
https://codereview.chromium.org/2521573006/diff/20001/net/quic/chromium/quic_chromium_client_session.h File net/quic/chromium/quic_chromium_client_session.h (right): https://codereview.chromium.org/2521573006/diff/20001/net/quic/chromium/quic_chromium_client_session.h#newcode134 net/quic/chromium/quic_chromium_client_session.h:134: ServerPushDelegate* push_delegate, On 2016/11/23 20:43:30, Ryan Hamilton wrote: > ...
4 years ago (2016-11-23 23:53:49 UTC) #9
Ryan Hamilton
lgtm Seems like we should have a test in which SetServerPushDelegate() is called to pass ...
4 years ago (2016-11-24 00:38:23 UTC) #10
Ryan Hamilton
On 2016/11/24 00:38:23, Ryan Hamilton wrote: > lgtm > > Seems like we should have ...
4 years ago (2016-12-12 22:54:45 UTC) #11
Zhongyi Shi
On 2016/12/12 22:54:45, Ryan Hamilton wrote: > On 2016/11/24 00:38:23, Ryan Hamilton wrote: > > ...
4 years ago (2016-12-12 22:58:45 UTC) #12
Zhongyi Shi
On 2016/12/12 22:54:45, Ryan Hamilton wrote: > On 2016/11/24 00:38:23, Ryan Hamilton wrote: > > ...
4 years ago (2016-12-15 00:57:17 UTC) #13
Ryan Hamilton
On 2016/12/15 00:57:17, Zhongyi Shi wrote: > On 2016/12/12 22:54:45, Ryan Hamilton wrote: > > ...
4 years ago (2016-12-15 01:32:09 UTC) #14
Zhongyi Shi
Had an offline discussion with rch@, I'll land this CL as is and regression test ...
4 years ago (2016-12-19 03:06:53 UTC) #17
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/2521573006/40001
4 years ago (2016-12-19 03:31:21 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-19 03:36:33 UTC) #25
commit-bot: I haz the power
4 years ago (2016-12-19 03:38:55 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/af25754e6d51d71bd346ac56e36e40ca1ec3803d
Cr-Commit-Position: refs/heads/master@{#439397}

Powered by Google App Engine
This is Rietveld 408576698