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

Issue 2429063002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming.

Created:
4 years, 2 months ago by sunjian
Modified:
3 years, 5 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, igrigorik, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming. BUG=663175

Patch Set 1 #

Total comments: 4

Patch Set 2 : ALPNNegotiatedProtocol fallback #

Patch Set 3 : connection_info initial value #

Total comments: 6

Patch Set 4 : fix layou tests #

Patch Set 5 : Added unit tests #

Patch Set 6 : Added core_export for PerformanceResourceTiming #

Total comments: 8

Patch Set 7 : Get rid of using std:: #

Patch Set 8 : Modified test #

Total comments: 4

Patch Set 9 : added two more test cases #

Total comments: 7

Patch Set 10 : sync to HEAD #

Patch Set 11 : fallback to hq when quic is contained #

Total comments: 2

Patch Set 12 : included changes for navigation timing #

Total comments: 13
Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -38 lines) Patch
M android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/loadtimes_extension_bindings.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -3 lines 0 comments Download
M content/child/weburlresponse_extradata_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +1 line, -17 lines 0 comments Download
M content/child/weburlresponse_extradata_impl.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download
M content/public/renderer/document_state.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -6 lines 1 comment Download
M content/public/renderer/document_state.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_attributes_exist.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +33 lines, -0 lines 3 comments Download
M third_party/WebKit/Source/core/timing/PerformanceResourceTiming.idl View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +50 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLResponse.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.h View 1 2 3 4 5 6 7 8 9 3 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebURLResponse.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 9 comments Download

Messages

Total messages: 93 (45 generated)
sunjian
4 years, 2 months ago (2016-10-18 23:38:22 UTC) #2
panicker
https://codereview.chromium.org/2429063002/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/2429063002/diff/1/content/child/web_url_loader_impl.cc#newcode1058 content/child/web_url_loader_impl.cc:1058: response->setALPNNegotiatedProtocol( move this before setting of extra data (line ...
4 years, 2 months ago (2016-10-19 00:25:11 UTC) #3
sunjian
https://codereview.chromium.org/2429063002/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/2429063002/diff/1/content/child/web_url_loader_impl.cc#newcode1058 content/child/web_url_loader_impl.cc:1058: response->setALPNNegotiatedProtocol( On 2016/10/19 00:25:11, Shubhie wrote: > move this ...
4 years, 2 months ago (2016-10-21 00:19:51 UTC) #5
panicker
https://codereview.chromium.org/2429063002/diff/40001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2429063002/diff/40001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode87 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:87: returnedProtocol == "unknown" ? "http/1.1" : returnedProtocol; I don't ...
4 years, 1 month ago (2016-10-24 18:23:31 UTC) #10
panicker
As discussed, for tests: - fix layout tests and add expectation files to patch - ...
4 years, 1 month ago (2016-10-24 19:44:38 UTC) #11
sunjian
https://codereview.chromium.org/2429063002/diff/40001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2429063002/diff/40001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode87 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:87: returnedProtocol == "unknown" ? "http/1.1" : returnedProtocol; On 2016/10/24 ...
4 years, 1 month ago (2016-10-25 00:10:55 UTC) #21
panicker
https://codereview.chromium.org/2429063002/diff/100001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2429063002/diff/100001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode91 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:91: returnedProtocol = Add a comment explaining this https://codereview.chromium.org/2429063002/diff/100001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode93 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:93: ...
4 years, 1 month ago (2016-10-25 23:53:26 UTC) #29
sunjian
https://codereview.chromium.org/2429063002/diff/100001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2429063002/diff/100001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode91 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:91: returnedProtocol = On 2016/10/25 23:53:26, Shubhie wrote: > Add ...
4 years, 1 month ago (2016-10-26 19:56:52 UTC) #30
sunjian
4 years, 1 month ago (2016-10-26 20:27:45 UTC) #31
panicker
https://codereview.chromium.org/2429063002/diff/140001/third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp (right): https://codereview.chromium.org/2429063002/diff/140001/third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp#newcode23 third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp:23: AtomicString connectionInfo = "http/1.1"; Add another test for when ...
4 years, 1 month ago (2016-10-26 20:35:06 UTC) #34
sunjian
https://codereview.chromium.org/2429063002/diff/140001/third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp (right): https://codereview.chromium.org/2429063002/diff/140001/third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp#newcode23 third_party/WebKit/Source/core/timing/PerformanceResourceTimingTest.cpp:23: AtomicString connectionInfo = "http/1.1"; On 2016/10/26 20:35:06, Shubhie wrote: ...
4 years, 1 month ago (2016-10-27 20:41:30 UTC) #38
panicker
https://codereview.chromium.org/2429063002/diff/160001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2429063002/diff/160001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode91 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:91: // Fallback to "http/1.1" when connectionInfo is also unknown ...
4 years, 1 month ago (2016-10-27 22:05:22 UTC) #40
Yoav Weiss
AFAICT, this is not testing that the actual values filling the alpn_negotiated_protocol and the connection_info ...
4 years, 1 month ago (2016-10-28 07:00:34 UTC) #44
panicker
<< Re: testing that the actual values filling the alpn_negotiated_protocol and the connection_info are correct. ...
4 years, 1 month ago (2016-10-28 15:50:24 UTC) #46
Yoav Weiss
Regarding the tests, I was thinking browser tests would be appropriate here, assuming we already ...
4 years, 1 month ago (2016-11-03 08:10:23 UTC) #47
Ryan Hamilton
Adding bnc who has been doing work in this area recently. https://codereview.chromium.org/2429063002/diff/160001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): ...
4 years, 1 month ago (2016-11-03 14:30:45 UTC) #49
mmenke
For testing, there's chrome/browser/net/load_timing_browsertest.cc, which tests that reported times are non-NULL and in the right ...
4 years, 1 month ago (2016-11-03 14:36:26 UTC) #50
mmenke
On 2016/11/03 14:36:26, mmenke (Busy Nov 2-3) wrote: > For testing, there's chrome/browser/net/load_timing_browsertest.cc, which tests ...
4 years, 1 month ago (2016-11-03 14:41:53 UTC) #51
Yoav Weiss
On 2016/11/03 14:36:26, mmenke (Busy Nov 2-3) wrote: > For testing, there's chrome/browser/net/load_timing_browsertest.cc, which tests ...
4 years, 1 month ago (2016-11-03 14:42:04 UTC) #52
Ryan Hamilton
Removing myself as a reviewer. Please feel free to add me back when this is ...
3 years, 10 months ago (2017-01-30 15:03:20 UTC) #54
Bence
Removing myself as a reviewer. Please feel free to add me back when you require ...
3 years, 9 months ago (2017-02-27 23:10:16 UTC) #55
sunjian
Can you take another look at this cl please, we have decided to move this ...
3 years, 8 months ago (2017-04-05 18:18:25 UTC) #60
panicker
Please ensure this field is also visible in Navigation Timing 2 and add a test ...
3 years, 8 months ago (2017-04-05 18:52:49 UTC) #61
panicker
Adding reviewers back, as this is ready to move forward again.
3 years, 8 months ago (2017-04-05 18:57:46 UTC) #63
panicker
On 2017/04/05 18:52:49, panicker wrote: > Please ensure this field is also visible in Navigation ...
3 years, 8 months ago (2017-04-05 18:58:22 UTC) #64
Ryan Hamilton
https://codereview.chromium.org/2429063002/diff/240001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2429063002/diff/240001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode121 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:121: } Instead of doing the mapping from "... quic ...
3 years, 8 months ago (2017-04-05 20:31:11 UTC) #65
sunjian
On 2017/04/05 18:52:49, panicker wrote: > Please ensure this field is also visible in Navigation ...
3 years, 8 months ago (2017-04-05 21:46:36 UTC) #66
sunjian
On 2017/04/05 18:58:22, panicker wrote: > On 2017/04/05 18:52:49, panicker wrote: > > Please ensure ...
3 years, 8 months ago (2017-04-05 21:48:01 UTC) #67
panicker
https://codereview.chromium.org/2429063002/diff/240001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2429063002/diff/240001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode121 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:121: } On 2017/04/05 20:31:11, Ryan Hamilton wrote: > Instead ...
3 years, 8 months ago (2017-04-05 21:48:27 UTC) #68
sunjian
On 2017/04/05 20:31:11, Ryan Hamilton wrote: > https://codereview.chromium.org/2429063002/diff/240001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp > File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp > (right): > > ...
3 years, 8 months ago (2017-04-05 21:48:47 UTC) #69
sunjian
Please take another look!
3 years, 8 months ago (2017-04-05 21:49:08 UTC) #70
panicker
LGTM Ryan, Bence - PTAL?
3 years, 8 months ago (2017-04-10 17:52:20 UTC) #72
Bence
I'm not an OWNER of any of these files, but this looks fine to me. ...
3 years, 8 months ago (2017-04-12 13:48:49 UTC) #73
panicker
Kinuko - could you please review for Owners?
3 years, 8 months ago (2017-04-12 16:57:12 UTC) #75
panicker
+sgurun, torne - could you review for the webview test update?
3 years, 8 months ago (2017-04-12 16:58:47 UTC) #77
Torne
android_webview LGTM, thanks!
3 years, 8 months ago (2017-04-12 17:37:18 UTC) #78
panicker
+jochen - could you review for OWNERS (apologies for the OWNERS fishing, but need to ...
3 years, 8 months ago (2017-04-14 19:02:30 UTC) #80
panicker
Friendly ping.
3 years, 8 months ago (2017-04-17 17:01:41 UTC) #81
kinuko
I think you'll need rebase (and run the renamer tool) as great reformat happened. https://codereview.chromium.org/2429063002/diff/260001/content/public/renderer/document_state.h ...
3 years, 8 months ago (2017-04-18 05:46:25 UTC) #82
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h File third_party/WebKit/public/platform/WebURLResponse.h (right): https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h#newcode269 third_party/WebKit/public/platform/WebURLResponse.h:269: BLINK_PLATFORM_EXPORT WebString alpnNegotiatedProtocol() const; it seems that these aren't ...
3 years, 8 months ago (2017-04-18 11:37:59 UTC) #83
panicker
https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h File third_party/WebKit/public/platform/WebURLResponse.h (right): https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h#newcode269 third_party/WebKit/public/platform/WebURLResponse.h:269: BLINK_PLATFORM_EXPORT WebString alpnNegotiatedProtocol() const; On 2017/04/18 11:37:58, jochen wrote: ...
3 years, 8 months ago (2017-04-18 17:01:06 UTC) #84
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h File third_party/WebKit/public/platform/WebURLResponse.h (right): https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h#newcode273 third_party/WebKit/public/platform/WebURLResponse.h:273: BLINK_PLATFORM_EXPORT WebString connectionInfo() const; On 2017/04/18 at 17:01:06, panicker ...
3 years, 8 months ago (2017-04-18 18:21:12 UTC) #85
panicker
https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h File third_party/WebKit/public/platform/WebURLResponse.h (right): https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h#newcode269 third_party/WebKit/public/platform/WebURLResponse.h:269: BLINK_PLATFORM_EXPORT WebString alpnNegotiatedProtocol() const; On 2017/04/18 17:01:06, panicker wrote: ...
3 years, 8 months ago (2017-04-18 21:43:50 UTC) #86
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h File third_party/WebKit/public/platform/WebURLResponse.h (right): https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h#newcode273 third_party/WebKit/public/platform/WebURLResponse.h:273: BLINK_PLATFORM_EXPORT WebString connectionInfo() const; platform/loader already depends on net/ ...
3 years, 8 months ago (2017-04-19 15:01:25 UTC) #87
kinuko
https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h File third_party/WebKit/public/platform/WebURLResponse.h (right): https://codereview.chromium.org/2429063002/diff/260001/third_party/WebKit/public/platform/WebURLResponse.h#newcode273 third_party/WebKit/public/platform/WebURLResponse.h:273: BLINK_PLATFORM_EXPORT WebString connectionInfo() const; On 2017/04/19 15:01:25, jochen wrote: ...
3 years, 8 months ago (2017-04-20 03:37:08 UTC) #88
panicker
Hey all, Its been a long time since this CL was initiated and sunjian@ has ...
3 years, 8 months ago (2017-04-20 17:52:04 UTC) #89
panicker
On 2017/04/20 17:52:04, panicker wrote: > Hey all, > Its been a long time since ...
3 years, 6 months ago (2017-06-09 19:57:29 UTC) #90
Bence
3 years, 6 months ago (2017-06-13 11:58:53 UTC) #92
Removing myself as reviewer.

Powered by Google App Engine
This is Rietveld 408576698