diff options
Diffstat (limited to 'chrome/common/child_thread.h')
-rw-r--r-- | chrome/common/child_thread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/child_thread.h b/chrome/common/child_thread.h index 63464fe..c731b45 100644 --- a/chrome/common/child_thread.h +++ b/chrome/common/child_thread.h @@ -32,6 +32,13 @@ class ChildThread : public IPC::Channel::Listener, void AddRoute(int32 routing_id, IPC::Channel::Listener* listener); void RemoveRoute(int32 routing_id); + // Creates a ResourceLoaderBridge. + // Tests can override this method if they want a custom loading behavior. + virtual webkit_glue::ResourceLoaderBridge* CreateBridge( + const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info, + int host_renderer_id, + int host_render_view_id); + ResourceDispatcher* resource_dispatcher() { return resource_dispatcher_.get(); } |