[Webkit-unassigned] [Bug 49113] [chromium] Add a way for the embedder to tag a ResourceRequest with arbitrary data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 4 10:43:43 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=49113





--- Comment #5 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2011-02-04 10:43:43 PST ---
(In reply to comment #3)
> I'm looking into tackling this.  But another thing that makes it trickier than WebDataSource is that the code manipulating these extra bits in the request doesn't all live in RenderView::willSendRequest().

I see... that suggests that we'd need to have a common subclass of ExtraData that all code in Chromium can expect a WebURLRequest::ExtraData to downcast to.  We could probably put something in src/webkit/glue/ to help make that less error prone.

I also wonder if this kind of thing wouldn't be much easier to support if ResourceRequest were reference counted, and if the allocation of ResourceRequest were done by the embedding layer.  Then we could just extend the size of the ResourceRequest structure at the embedding layer.  /shrug... not sure what is best.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list