[Webkit-unassigned] [Bug 26655] ResourceHandle infrastructure is needed to support loading out of an appcache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 23 14:32:49 PDT 2009


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


michaeln at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31738|                            |review?
               Flag|                            |




------- Comment #1 from michaeln at google.com  2009-06-23 14:32 PDT -------
Created an attachment (id=31738)
 --> (https://bugs.webkit.org/attachment.cgi?id=31738&action=view)
Interceptor (rev1)

Looking for some preliminary feedback on this new piece of webcore resource
handle
infrastructure.

These changes allow an 'interceptor' to hijack ResourceHandle requests and to
provide response data instead of actually going to the network.

The approach taken in this preliminary patch ripples into the platform
specific resourcehandleXXX.cpp files more than i would like. Its doable, just
very platform specific.

Another approach would be to introduce a new ResourceHandle class into the
hierarchy that 'wraps' the existing class. Something like...
* rename existing ResourceHandle.h cpp --> PlatformResourceHandle.h cpp
* introduce new ResourceHandle.h cpp with same interface as existing class, but
have it use ResourceHandleInterceptorHost  and PlatformResourceHandle for
everything under the covers. 

I'm preparing another patch with that hoist usage of the
ResourceHandleInterceptorHost into a new wrapper class as described above.


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



More information about the webkit-unassigned mailing list