diff options
Diffstat (limited to 'chromium/content/browser/loader/layered_resource_handler.h')
-rw-r--r-- | chromium/content/browser/loader/layered_resource_handler.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/chromium/content/browser/loader/layered_resource_handler.h b/chromium/content/browser/loader/layered_resource_handler.h index e0778958d07..dc6de2314dc 100644 --- a/chromium/content/browser/loader/layered_resource_handler.h +++ b/chromium/content/browser/loader/layered_resource_handler.h @@ -25,27 +25,23 @@ class CONTENT_EXPORT LayeredResourceHandler : public ResourceHandler { // ResourceHandler implementation: virtual void SetController(ResourceController* controller) OVERRIDE; - virtual bool OnUploadProgress(int request_id, uint64 position, - uint64 size) OVERRIDE; - virtual bool OnRequestRedirected(int request_id, const GURL& url, + virtual bool OnUploadProgress(uint64 position, uint64 size) OVERRIDE; + virtual bool OnRequestRedirected(const GURL& url, ResourceResponse* response, bool* defer) OVERRIDE; - virtual bool OnResponseStarted(int request_id, - ResourceResponse* response, + virtual bool OnResponseStarted(ResourceResponse* response, bool* defer) OVERRIDE; - virtual bool OnWillStart(int request_id, const GURL& url, - bool* defer) OVERRIDE; - virtual bool OnWillRead(int request_id, - scoped_refptr<net::IOBuffer>* buf, + virtual bool OnWillStart(const GURL& url, bool* defer) OVERRIDE; + virtual bool OnBeforeNetworkStart(const GURL& url, bool* defer) OVERRIDE; + virtual bool OnWillRead(scoped_refptr<net::IOBuffer>* buf, int* buf_size, int min_size) OVERRIDE; - virtual bool OnReadCompleted(int request_id, int bytes_read, + virtual bool OnReadCompleted(int bytes_read, bool* defer) OVERRIDE; - virtual void OnResponseCompleted(int request_id, - const net::URLRequestStatus& status, + virtual void OnResponseCompleted(const net::URLRequestStatus& status, const std::string& security_info, bool* defer) OVERRIDE; - virtual void OnDataDownloaded(int request_id, int bytes_downloaded) OVERRIDE; + virtual void OnDataDownloaded(int bytes_downloaded) OVERRIDE; scoped_ptr<ResourceHandler> next_handler_; }; |