Chromium Code Reviews| Index: chrome/browser/renderer_host/download_throttling_resource_handler.h |
| =================================================================== |
| --- chrome/browser/renderer_host/download_throttling_resource_handler.h (revision 74194) |
| +++ chrome/browser/renderer_host/download_throttling_resource_handler.h (working copy) |
| @@ -10,10 +10,12 @@ |
| #include "chrome/browser/download/download_request_limiter.h" |
| #include "chrome/browser/renderer_host/resource_handler.h" |
| +#include "chrome/common/notification_type.h" |
| #include "googleurl/src/gurl.h" |
| class DownloadResourceHandler; |
| class ResourceDispatcherHost; |
| +class ResourceRequestDetails; |
| namespace net { |
| class URLRequest; |
| @@ -65,6 +67,12 @@ |
| void CopyTmpBufferToDownloadHandler(); |
| + ResourceRequestDetails* GetResourceRequestDetails(); |
| + |
| + template<NotificationType::Type T> |
|
cbentzel
2011/02/09 12:11:14
Move this into .cc file and put in anonymous names
dominich
2011/02/09 22:33:30
I was following the pattern established in the Res
dominich
2011/02/09 22:33:30
Done.
|
| + static void NotifyOnUI(int process_id, int view_id, |
| + ResourceRequestDetails* details); |
| + |
| ResourceDispatcherHost* host_; |
| net::URLRequest* request_; |
| GURL url_; |