Chromium Code Reviews
DescriptionMake ResourceTimingInfo RefCounted.
Currently, ResourceTimingInfo's creation only returns a std::unique_ptr.
However, a ref-counted ResourceTimingInfo instance is needed so that a
single instance can be shared by multiple owners. The reason that this
new feature is requested is because now we expose PerformanceNavigationTiming
in a timely manner, which entails dynamically updating PerformanceNavigationTiming
instance as more information gets collected. One ResourceTimingInfo instance will
be held by a ResourceFether and a PerformanceNavigationTiming instance at the same
time. ResourceFether will keep updating ResourceTimingInfo while
PerformanceNavigationTiming consumes it. Therefore, making ResourceTimingInfo
ref-counted is needed.
BUG=701113
Review-Url: https://codereview.chromium.org/2747933002
Cr-Commit-Position: refs/heads/master@{#456865}
Committed: https://chromium.googlesource.com/chromium/src/+/2e016fcf6b3eae31983727f7f768d7a9b841ecf2
Patch Set 1 #
Messages
Total messages: 19 (12 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||