| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ | 6 #define CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/browser/loader/resource_handler.h" | 9 #include "content/browser/loader/resource_handler.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 virtual bool OnUploadProgress(int request_id, uint64 position, | 28 virtual bool OnUploadProgress(int request_id, uint64 position, |
| 29 uint64 size) OVERRIDE; | 29 uint64 size) OVERRIDE; |
| 30 virtual bool OnRequestRedirected(int request_id, const GURL& url, | 30 virtual bool OnRequestRedirected(int request_id, const GURL& url, |
| 31 ResourceResponse* response, | 31 ResourceResponse* response, |
| 32 bool* defer) OVERRIDE; | 32 bool* defer) OVERRIDE; |
| 33 virtual bool OnResponseStarted(int request_id, | 33 virtual bool OnResponseStarted(int request_id, |
| 34 ResourceResponse* response, | 34 ResourceResponse* response, |
| 35 bool* defer) OVERRIDE; | 35 bool* defer) OVERRIDE; |
| 36 virtual bool OnWillStart(int request_id, const GURL& url, | 36 virtual bool OnWillStart(int request_id, const GURL& url, |
| 37 bool* defer) OVERRIDE; | 37 bool* defer) OVERRIDE; |
| 38 virtual bool OnBeforeNetworkStart(int request_id, |
| 39 const GURL& url, |
| 40 bool* defer) OVERRIDE; |
| 38 virtual bool OnWillRead(int request_id, | 41 virtual bool OnWillRead(int request_id, |
| 39 scoped_refptr<net::IOBuffer>* buf, | 42 scoped_refptr<net::IOBuffer>* buf, |
| 40 int* buf_size, | 43 int* buf_size, |
| 41 int min_size) OVERRIDE; | 44 int min_size) OVERRIDE; |
| 42 virtual bool OnReadCompleted(int request_id, int bytes_read, | 45 virtual bool OnReadCompleted(int request_id, int bytes_read, |
| 43 bool* defer) OVERRIDE; | 46 bool* defer) OVERRIDE; |
| 44 virtual void OnResponseCompleted(int request_id, | 47 virtual void OnResponseCompleted(int request_id, |
| 45 const net::URLRequestStatus& status, | 48 const net::URLRequestStatus& status, |
| 46 const std::string& security_info, | 49 const std::string& security_info, |
| 47 bool* defer) OVERRIDE; | 50 bool* defer) OVERRIDE; |
| 48 virtual void OnDataDownloaded(int request_id, int bytes_downloaded) OVERRIDE; | 51 virtual void OnDataDownloaded(int request_id, int bytes_downloaded) OVERRIDE; |
| 49 | 52 |
| 50 scoped_ptr<ResourceHandler> next_handler_; | 53 scoped_ptr<ResourceHandler> next_handler_; |
| 51 }; | 54 }; |
| 52 | 55 |
| 53 } // namespace content | 56 } // namespace content |
| 54 | 57 |
| 55 #endif // CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ | 58 #endif // CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ |
| OLD | NEW |