Bug 174008

Summary: Merge WebResourceLoadStatisticsManager and WebResourceLoadObserver
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, ggaren, wilander
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2017-06-29 20:02:55 PDT
WebResourceLoadStatisticsManager is currently only a proxy to WebResourceLoadObserver.
Comment 1 Chris Dumez 2017-06-29 20:23:10 PDT
Created attachment 314217 [details]
Patch
Comment 2 Brent Fulgham 2017-06-29 23:35:26 PDT
Comment on attachment 314217 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=314217&action=review

I think this change looked correct. Another nice simplification.

> Source/WebKit2/UIProcess/API/C/WKResourceLoadStatisticsManager.cpp:58
> +// FIXME: This API name is wrong.

We can change that, it’s only used in testing.
Comment 3 Chris Dumez 2017-06-30 09:06:00 PDT
(In reply to Brent Fulgham from comment #2)
> Comment on attachment 314217 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=314217&action=review
> 
> I think this change looked correct. Another nice simplification.
> 
> > Source/WebKit2/UIProcess/API/C/WKResourceLoadStatisticsManager.cpp:58
> > +// FIXME: This API name is wrong.
> 
> We can change that, it’s only used in testing.

Sure, can I change it in a follow up. I suspect we may want to make some of this API asynchronous too to avoid locks.
Comment 4 Brent Fulgham 2017-06-30 09:19:09 PDT
Comment on attachment 314217 [details]
Patch

Wonderful! r=me.
Comment 5 Chris Dumez 2017-06-30 09:22:46 PDT
Comment on attachment 314217 [details]
Patch

Clearing flags on attachment: 314217

Committed r219000: <http://trac.webkit.org/changeset/219000>
Comment 6 Chris Dumez 2017-06-30 09:22:47 PDT
All reviewed patches have been landed.  Closing bug.