Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4580)

Unified Diff: chrome/browser/renderer_host/download_throttling_resource_handler.h

Issue 6459005: Cancel prerender when we discover a download starting from a page we are prer... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Now with conflicts resolved Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/download_throttling_resource_handler.h
===================================================================
--- chrome/browser/renderer_host/download_throttling_resource_handler.h (revision 74377)
+++ 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"
cbentzel 2011/02/10 14:44:34 Include not needed.
dominich 2011/02/10 18:46:22 Done.
#include "googleurl/src/gurl.h"
class DownloadResourceHandler;
class ResourceDispatcherHost;
+class ResourceRequestDetails;
cbentzel 2011/02/10 14:44:34 This isn't needed now that you are passing NoDetai
dominich 2011/02/10 18:46:22 Done.
namespace net {
class URLRequest;
@@ -65,6 +67,8 @@
void CopyTmpBufferToDownloadHandler();
+ ResourceRequestDetails* GetResourceRequestDetails();
cbentzel 2011/02/10 14:44:34 Also not needed since passing NoDetails.
dominich 2011/02/10 18:46:22 Done.
+
ResourceDispatcherHost* host_;
net::URLRequest* request_;
GURL url_;

Powered by Google App Engine
This is Rietveld 408576698