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

Issue 2932003002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming. (Closed)

Created:
3 years, 6 months ago by shaseley
Modified:
3 years, 6 months ago
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming. BUG=663175 Review-Url: https://codereview.chromium.org/2932003002 Cr-Commit-Position: refs/heads/master@{#482091} Committed: https://chromium.googlesource.com/chromium/src/+/0d7335cd221d21f07fbc8dce72e437167e08ca7e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added net/http dependency #

Total comments: 14

Patch Set 3 : Addressed nits and fixed unit test #

Patch Set 4 : Do not default to http/1.1; add github issue reference #

Total comments: 5

Patch Set 5 : Rebase #

Patch Set 6 : Add net as a public dependency to blink_headers #

Patch Set 7 : Fix broken unit test and attempt to fix mac/android/ios builds #

Patch Set 8 : Added blink_headers as a dependency where blink headers were included #

Patch Set 9 : Rebasline #

Total comments: 2

Patch Set 10 : Change blink_headers deps to Source/platform and subsume platform/wtf deps #

Total comments: 2

Patch Set 11 : Make ConnectionInfoString() return AtomicString #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -40 lines) Patch
M content/child/web_url_loader_impl.cc View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M content/child/weburlresponse_extradata_impl.h View 3 chunks +1 line, -17 lines 0 comments Download
M content/child/weburlresponse_extradata_impl.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 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 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_attributes_values.html View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/resource-timing/test_resource_timing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 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 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h View 1 chunk +3 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 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h View 5 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp View 1 2 3 3 chunks +34 lines, -0 lines 0 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 1 chunk +48 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/exported/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLResponse.cpp View 1 chunk +18 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 10 2 chunks +22 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 10 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebURLResponse.h View 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 73 (40 generated)
shaseley
3 years, 6 months ago (2017-06-08 23:17:56 UTC) #2
panicker
Looking good overall! https://codereview.chromium.org/2932003002/diff/1/third_party/WebKit/public/platform/WebURLResponse.h File third_party/WebKit/public/platform/WebURLResponse.h (right): https://codereview.chromium.org/2932003002/diff/1/third_party/WebKit/public/platform/WebURLResponse.h#newcode34 third_party/WebKit/public/platform/WebURLResponse.h:34: #include <memory> add net/http to the ...
3 years, 6 months ago (2017-06-08 23:39:10 UTC) #3
shaseley
Resolved net/http dependency https://codereview.chromium.org/2932003002/diff/1/third_party/WebKit/public/platform/WebURLResponse.h File third_party/WebKit/public/platform/WebURLResponse.h (right): https://codereview.chromium.org/2932003002/diff/1/third_party/WebKit/public/platform/WebURLResponse.h#newcode34 third_party/WebKit/public/platform/WebURLResponse.h:34: #include <memory> On 2017/06/08 23:39:09, panicker ...
3 years, 6 months ago (2017-06-09 00:27:51 UTC) #4
panicker
LGTM. Kinuko, could you please review? This is literally updating the old patch (rebase) and ...
3 years, 6 months ago (2017-06-09 19:59:59 UTC) #6
Yoav Weiss
Is this also implementing nextHop for NavTiming? Seems like some bits are missing for that... ...
3 years, 6 months ago (2017-06-10 05:31:33 UTC) #8
kinuko
https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode131 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:131: returnedProtocol = "hq"; On 2017/06/10 05:31:33, Yoav Weiss wrote: ...
3 years, 6 months ago (2017-06-12 00:48:24 UTC) #9
panicker
https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode131 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:131: returnedProtocol = "hq"; On 2017/06/12 00:48:23, kinuko wrote: > ...
3 years, 6 months ago (2017-06-13 22:09:47 UTC) #10
shaseley
https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_attributes_values.html File third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_attributes_values.html (right): https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_attributes_values.html#newcode73 third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_attributes_values.html:73: assert_equals(entries[0].nextHopProtocol, "foo"); On 2017/06/10 05:31:33, Yoav Weiss wrote: > ...
3 years, 6 months ago (2017-06-13 23:14:18 UTC) #11
shaseley
On 2017/06/10 05:31:33, Yoav Weiss wrote: > Is this also implementing nextHop for NavTiming? Seems ...
3 years, 6 months ago (2017-06-13 23:23:26 UTC) #12
kinuko
https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode131 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:131: returnedProtocol = "hq"; On 2017/06/13 22:09:47, panicker wrote: > ...
3 years, 6 months ago (2017-06-14 00:00:07 UTC) #13
Yoav Weiss
On 2017/06/14 00:00:07, kinuko wrote: > https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp > File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp > (right): > > https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode131 ...
3 years, 6 months ago (2017-06-14 07:23:48 UTC) #14
panicker
https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode131 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:131: returnedProtocol = "hq"; On 2017/06/14 00:00:06, kinuko wrote: > ...
3 years, 6 months ago (2017-06-14 19:46:47 UTC) #15
shaseley
https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2932003002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode131 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:131: returnedProtocol = "hq"; On 2017/06/14 19:46:47, panicker wrote: > ...
3 years, 6 months ago (2017-06-15 00:11:01 UTC) #16
Yoav Weiss
Apologies for the delayed review... Been traveling https://codereview.chromium.org/2932003002/diff/60001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2932003002/diff/60001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode127 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:127: // (https://github.com/w3c/navigation-timing/issues/71) ...
3 years, 6 months ago (2017-06-16 15:25:05 UTC) #21
panicker
https://codereview.chromium.org/2932003002/diff/60001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2932003002/diff/60001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode130 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:130: // alpn id "hq". (https://github.com/w3c/navigation-timing/issues/71) On 2017/06/16 15:25:04, Yoav ...
3 years, 6 months ago (2017-06-16 17:37:27 UTC) #26
panicker
https://codereview.chromium.org/2932003002/diff/60001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp File third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp (right): https://codereview.chromium.org/2932003002/diff/60001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode127 third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:127: // (https://github.com/w3c/navigation-timing/issues/71) On 2017/06/16 15:25:04, Yoav Weiss wrote: > ...
3 years, 6 months ago (2017-06-16 22:41:18 UTC) #31
shaseley
I’m running into a problem building for Mac and Android related to adding net as ...
3 years, 6 months ago (2017-06-17 00:48:32 UTC) #36
Yoav Weiss
On 2017/06/16 15:25:05, Yoav Weiss wrote: > > https://codereview.chromium.org/2932003002/diff/60001/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp#newcode130 > third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp:130: // alpn > id ...
3 years, 6 months ago (2017-06-21 00:53:48 UTC) #37
kinuko
Looks like it's failing to build some testing targets. Would adding "//third_party/boringssl" deps to the ...
3 years, 6 months ago (2017-06-21 06:45:47 UTC) #38
kinuko
By the way code change lgtm
3 years, 6 months ago (2017-06-21 06:47:08 UTC) #39
panicker
+haraken for source/modules owners (and sanity check the BUILD updates :))
3 years, 6 months ago (2017-06-22 22:23:58 UTC) #47
kinuko
https://codereview.chromium.org/2932003002/diff/160001/third_party/WebKit/Source/bindings/core/v8/BUILD.gn File third_party/WebKit/Source/bindings/core/v8/BUILD.gn (right): https://codereview.chromium.org/2932003002/diff/160001/third_party/WebKit/Source/bindings/core/v8/BUILD.gn#newcode210 third_party/WebKit/Source/bindings/core/v8/BUILD.gn:210: "//third_party/WebKit/public:blink_headers", I see, for forwarding deps... I think adding ...
3 years, 6 months ago (2017-06-22 23:40:36 UTC) #48
shaseley
https://codereview.chromium.org/2932003002/diff/160001/third_party/WebKit/Source/bindings/core/v8/BUILD.gn File third_party/WebKit/Source/bindings/core/v8/BUILD.gn (right): https://codereview.chromium.org/2932003002/diff/160001/third_party/WebKit/Source/bindings/core/v8/BUILD.gn#newcode210 third_party/WebKit/Source/bindings/core/v8/BUILD.gn:210: "//third_party/WebKit/public:blink_headers", On 2017/06/22 23:40:36, kinuko wrote: > I see, ...
3 years, 6 months ago (2017-06-23 00:08:39 UTC) #49
shaseley
On 2017/06/21 00:53:48, Yoav Weiss wrote: > On 2017/06/16 15:25:05, Yoav Weiss wrote: > > ...
3 years, 6 months ago (2017-06-23 00:09:01 UTC) #50
haraken
WebKit LGTM https://codereview.chromium.org/2932003002/diff/180001/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp File third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp (right): https://codereview.chromium.org/2932003002/diff/180001/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp#newcode580 third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp:580: return String::FromUTF8(connection_info_string.c_str(), Can we use AtomicString(connection_info_string.data(), connection_info_string.length())?
3 years, 6 months ago (2017-06-23 03:58:04 UTC) #55
shaseley
https://codereview.chromium.org/2932003002/diff/180001/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp File third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp (right): https://codereview.chromium.org/2932003002/diff/180001/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp#newcode580 third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp:580: return String::FromUTF8(connection_info_string.c_str(), On 2017/06/23 03:58:04, haraken wrote: > > ...
3 years, 6 months ago (2017-06-23 16:39:22 UTC) #58
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/2932003002/200001
3 years, 6 months ago (2017-06-23 20:20:45 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/472657)
3 years, 6 months ago (2017-06-23 20:31:27 UTC) #63
shaseley
On 2017/06/23 20:31:27, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 6 months ago (2017-06-23 20:58:47 UTC) #64
Yoav Weiss
On 2017/06/23 20:58:47, shaseley wrote: > On 2017/06/23 20:31:27, commit-bot: I haz the power wrote: ...
3 years, 6 months ago (2017-06-23 21:34:29 UTC) #67
chrishtr
lgtm LGTM for third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt.
3 years, 6 months ago (2017-06-23 21:38:02 UTC) #68
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/2932003002/200001
3 years, 6 months ago (2017-06-23 21:58:29 UTC) #70
commit-bot: I haz the power
3 years, 6 months ago (2017-06-24 00:28:01 UTC) #73
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/0d7335cd221d21f07fbc8dce72e4...

Powered by Google App Engine
This is Rietveld 408576698