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

Issue 2675343002: Server push cancellation: add NetLogs to track cache lookup transaction (Closed)

Created:
3 years, 10 months ago by Zhongyi Shi
Modified:
3 years, 10 months ago
Reviewers:
eroman, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, net-reviews_chromium.org, eroman, bnc+watch_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Server push cancellation: add NetLogs to track cache lookup transaction for server push. BUG=232040 Review-Url: https://codereview.chromium.org/2675343002 Cr-Commit-Position: refs/heads/master@{#449854} Committed: https://chromium.googlesource.com/chromium/src/+/d2a4caef5b812732dce7baa2d56716f8ae1f8cd2

Patch Set 1 #

Patch Set 2 : self review #

Total comments: 13

Patch Set 3 : Always log the push lookup results #

Total comments: 12

Patch Set 4 : address rch's comments #

Total comments: 14

Patch Set 5 : address eroman's comments #

Total comments: 26

Patch Set 6 : address eroman's comments #

Total comments: 4

Patch Set 7 : fix typo #

Patch Set 8 : sync with master #

Patch Set 9 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -51 lines) Patch
M net/http/http_cache_lookup_manager.h View 2 chunks +9 lines, -7 lines 0 comments Download
M net/http/http_cache_lookup_manager.cc View 1 chunk +46 lines, -16 lines 0 comments Download
M net/http/http_cache_lookup_manager_unittest.cc View 15 chunks +15 lines, -20 lines 0 comments Download
net/log/net_log_event_type_list.h View 1 chunk +20 lines, -0 lines 0 comments Download
M net/log/net_log_source_type_list.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_session.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M net/spdy/server_push_delegate.h View 2 chunks +4 lines, -2 lines 0 comments Download
net/spdy/spdy_session.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_test_utils.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_test_utils.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 30 (10 generated)
Zhongyi Shi
Ryan and Eric: PTAL. If this is okay, I will continue to add some tests. ...
3 years, 10 months ago (2017-02-06 22:08:29 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/2675343002/diff/20001/net/http/http_cache_lookup_manager.cc File net/http/http_cache_lookup_manager.cc (right): https://codereview.chromium.org/2675343002/diff/20001/net/http/http_cache_lookup_manager.cc#newcode57 net/http/http_cache_lookup_manager.cc:57: net_log_.AddEvent(NetLogEventType::PUSH_FOUND_IN_CACHE); I realize that CancelPush() is called from OnLookupComplete ...
3 years, 10 months ago (2017-02-06 23:34:55 UTC) #3
Zhongyi Shi
https://codereview.chromium.org/2675343002/diff/20001/net/http/http_cache_lookup_manager.cc File net/http/http_cache_lookup_manager.cc (right): https://codereview.chromium.org/2675343002/diff/20001/net/http/http_cache_lookup_manager.cc#newcode57 net/http/http_cache_lookup_manager.cc:57: net_log_.AddEvent(NetLogEventType::PUSH_FOUND_IN_CACHE); On 2017/02/06 23:34:55, Ryan Hamilton wrote: > I ...
3 years, 10 months ago (2017-02-07 00:00:24 UTC) #4
Ryan Hamilton
https://codereview.chromium.org/2675343002/diff/20001/net/http/http_cache_lookup_manager.cc File net/http/http_cache_lookup_manager.cc (right): https://codereview.chromium.org/2675343002/diff/20001/net/http/http_cache_lookup_manager.cc#newcode57 net/http/http_cache_lookup_manager.cc:57: net_log_.AddEvent(NetLogEventType::PUSH_FOUND_IN_CACHE); On 2017/02/07 00:00:24, Zhongyi Shi wrote: > On ...
3 years, 10 months ago (2017-02-07 00:10:49 UTC) #5
Zhongyi Shi
New revised sample NetLogs is available at: https://goo.gl/NIX9YV. This CL will be the minimal effort ...
3 years, 10 months ago (2017-02-07 06:01:09 UTC) #6
Ryan Hamilton
Looking good. https://codereview.chromium.org/2675343002/diff/40001/net/http/http_cache_lookup_manager.cc File net/http/http_cache_lookup_manager.cc (right): https://codereview.chromium.org/2675343002/diff/40001/net/http/http_cache_lookup_manager.cc#newcode16 net/http/http_cache_lookup_manager.cc:16: const NetLogSource& source, nit: this should be ...
3 years, 10 months ago (2017-02-07 15:22:58 UTC) #7
Zhongyi Shi
Update sample net logs available at: https://goo.gl/xzQaAH. PTAL! https://codereview.chromium.org/2675343002/diff/40001/net/http/http_cache_lookup_manager.cc File net/http/http_cache_lookup_manager.cc (right): https://codereview.chromium.org/2675343002/diff/40001/net/http/http_cache_lookup_manager.cc#newcode16 net/http/http_cache_lookup_manager.cc:16: const ...
3 years, 10 months ago (2017-02-07 19:08:22 UTC) #10
Ryan Hamilton
lgtm
3 years, 10 months ago (2017-02-07 19:43:47 UTC) #11
Zhongyi Shi
Eric, PTAL!
3 years, 10 months ago (2017-02-07 20:35:55 UTC) #14
eroman
https://codereview.chromium.org/2675343002/diff/60001/net/http/http_cache_lookup_manager.cc File net/http/http_cache_lookup_manager.cc (right): https://codereview.chromium.org/2675343002/diff/60001/net/http/http_cache_lookup_manager.cc#newcode17 net/http/http_cache_lookup_manager.cc:17: std::string push_url, Can you reduce the copying of |push_url| ...
3 years, 10 months ago (2017-02-07 22:33:43 UTC) #15
Zhongyi Shi
The net logs generated by the update code is availabe at: https://goo.gl/kgMY6g PTAL! https://codereview.chromium.org/2675343002/diff/60001/net/http/http_cache_lookup_manager.cc File ...
3 years, 10 months ago (2017-02-08 00:40:53 UTC) #17
Zhongyi Shi
eroman@: friendly ping, ptal!
3 years, 10 months ago (2017-02-09 07:18:09 UTC) #18
Zhongyi Shi
eroman@: Sorry I didn't realize that you're also OOO until this morning. Feel free to ...
3 years, 10 months ago (2017-02-09 23:51:03 UTC) #19
eroman
https://codereview.chromium.org/2675343002/diff/60001/net/http/http_cache_lookup_manager.cc File net/http/http_cache_lookup_manager.cc (right): https://codereview.chromium.org/2675343002/diff/60001/net/http/http_cache_lookup_manager.cc#newcode39 net/http/http_cache_lookup_manager.cc:39: net_log_(NetLogWithSource::Make( On 2017/02/08 00:40:53, Zhongyi Shi wrote: > On ...
3 years, 10 months ago (2017-02-10 23:57:47 UTC) #20
eroman
Oh also: Thanks for including the sample log files with each patchset! They are a ...
3 years, 10 months ago (2017-02-11 00:08:26 UTC) #21
Zhongyi Shi
Thanks a lot for all those suggestions, happy to improve the net logs though my ...
3 years, 10 months ago (2017-02-11 02:21:11 UTC) #22
eroman
LGTM! https://codereview.chromium.org/2675343002/diff/120001/net/http/http_cache_lookup_manager.h File net/http/http_cache_lookup_manager.h (right): https://codereview.chromium.org/2675343002/diff/120001/net/http/http_cache_lookup_manager.h#newcode21 net/http/http_cache_lookup_manager.h:21: HttpCacheLookupManager(HttpCache* http_cache); nit: Mark this as "explicit" https://codereview.chromium.org/2675343002/diff/120001/net/log/net_log_event_type_list.h ...
3 years, 10 months ago (2017-02-11 02:44:36 UTC) #23
Zhongyi Shi
Thanks Eric and Ryan for helping the review, landing now. https://codereview.chromium.org/2675343002/diff/120001/net/http/http_cache_lookup_manager.h File net/http/http_cache_lookup_manager.h (right): https://codereview.chromium.org/2675343002/diff/120001/net/http/http_cache_lookup_manager.h#newcode21 ...
3 years, 10 months ago (2017-02-11 09:42:26 UTC) #24
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/2675343002/160001
3 years, 10 months ago (2017-02-11 09:42:44 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-11 10:55:39 UTC) #30
Message was sent while issue was closed.
Committed patchset #8 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/d2a4caef5b812732dce7baa2d567...

Powered by Google App Engine
This is Rietveld 408576698