Index: chrome/browser/renderer_host/sync_resource_handler.h |
diff --git a/chrome/browser/renderer_host/sync_resource_handler.h b/chrome/browser/renderer_host/sync_resource_handler.h |
index 6f86de72ac35d2584932eee15499a32e740f99f3..81c4a9a76903a31a160cd9e3bd53710dc8836e5b 100644 |
--- a/chrome/browser/renderer_host/sync_resource_handler.h |
+++ b/chrome/browser/renderer_host/sync_resource_handler.h |
@@ -26,18 +26,18 @@ class SyncResourceHandler : public ResourceHandler { |
IPC::Message* result_message, |
ResourceDispatcherHost* resource_dispatcher_host); |
- bool OnUploadProgress(int request_id, uint64 position, uint64 size); |
- bool OnRequestRedirected(int request_id, const GURL& new_url, |
- ResourceResponse* response, bool* defer); |
- bool OnResponseStarted(int request_id, ResourceResponse* response); |
- bool OnWillStart(int request_id, const GURL& url, bool* defer); |
- bool OnWillRead(int request_id, net::IOBuffer** buf, int* buf_size, |
- int min_size); |
- bool OnReadCompleted(int request_id, int* bytes_read); |
- bool OnResponseCompleted(int request_id, |
- const URLRequestStatus& status, |
- const std::string& security_info); |
- void OnRequestClosed(); |
+ virtual bool OnUploadProgress(int request_id, uint64 position, uint64 size); |
+ virtual bool OnRequestRedirected(int request_id, const GURL& new_url, |
+ ResourceResponse* response, bool* defer); |
+ virtual bool OnResponseStarted(int request_id, ResourceResponse* response); |
+ virtual bool OnWillStart(int request_id, const GURL& url, bool* defer); |
+ virtual bool OnWillRead(int request_id, net::IOBuffer** buf, int* buf_size, |
+ int min_size); |
+ virtual bool OnReadCompleted(int request_id, int* bytes_read); |
+ virtual bool OnResponseCompleted(int request_id, |
+ const URLRequestStatus& status, |
+ const std::string& security_info); |
+ virtual void OnRequestClosed(); |
private: |
enum { kReadBufSize = 3840 }; |