diff options
Diffstat (limited to 'content/browser/loader/buffered_resource_handler.h')
-rw-r--r-- | content/browser/loader/buffered_resource_handler.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/content/browser/loader/buffered_resource_handler.h b/content/browser/loader/buffered_resource_handler.h index 23d15cc..a6ddff1 100644 --- a/content/browser/loader/buffered_resource_handler.h +++ b/content/browser/loader/buffered_resource_handler.h @@ -33,17 +33,13 @@ class BufferedResourceHandler private: // ResourceHandler implementation: virtual void SetController(ResourceController* controller) OVERRIDE; - virtual bool OnResponseStarted(int request_id, - ResourceResponse* response, + virtual bool OnResponseStarted(ResourceResponse* response, bool* defer) OVERRIDE; - virtual bool OnWillRead(int request_id, - scoped_refptr<net::IOBuffer>* buf, + virtual bool OnWillRead(scoped_refptr<net::IOBuffer>* buf, int* buf_size, int min_size) OVERRIDE; - virtual bool OnReadCompleted(int request_id, int bytes_read, - bool* defer) OVERRIDE; - virtual void OnResponseCompleted(int request_id, - const net::URLRequestStatus& status, + virtual bool OnReadCompleted(int bytes_read, bool* defer) OVERRIDE; + virtual void OnResponseCompleted(const net::URLRequestStatus& status, const std::string& security_info, bool* defer) OVERRIDE; @@ -67,7 +63,7 @@ class BufferedResourceHandler bool HasSupportingPlugin(bool* is_stale); // Copies data from |read_buffer_| to |next_handler_|. - bool CopyReadBufferToNextHandler(int request_id); + bool CopyReadBufferToNextHandler(); // Called on the IO thread once the list of plugins has been loaded. void OnPluginsLoaded(const std::vector<WebPluginInfo>& plugins); |