diff options
Diffstat (limited to 'chrome/browser/renderer_host/sync_resource_handler.h')
-rw-r--r-- | chrome/browser/renderer_host/sync_resource_handler.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/chrome/browser/renderer_host/sync_resource_handler.h b/chrome/browser/renderer_host/sync_resource_handler.h index 81c4a9a..174d1d8 100644 --- a/chrome/browser/renderer_host/sync_resource_handler.h +++ b/chrome/browser/renderer_host/sync_resource_handler.h @@ -8,10 +8,16 @@ #include <string> -#include "chrome/browser/renderer_host/resource_dispatcher_host.h" #include "chrome/browser/renderer_host/resource_handler.h" #include "chrome/common/resource_response.h" +class ResourceDispatcherHost; +class ResourceMessageFilter; + +namespace IPC { +class Message; +} + namespace net { class IOBuffer; } @@ -20,8 +26,7 @@ class IOBuffer; // events from the resource dispatcher host. class SyncResourceHandler : public ResourceHandler { public: - SyncResourceHandler(ResourceDispatcherHost::Receiver* receiver, - int process_id, + SyncResourceHandler(ResourceMessageFilter* filter, const GURL& url, IPC::Message* result_message, ResourceDispatcherHost* resource_dispatcher_host); @@ -47,8 +52,7 @@ class SyncResourceHandler : public ResourceHandler { scoped_refptr<net::IOBuffer> read_buffer_; SyncLoadResult result_; - ResourceDispatcherHost::Receiver* receiver_; - int process_id_; + ResourceMessageFilter* filter_; IPC::Message* result_message_; ResourceDispatcherHost* rdh_; }; |