Index: content/browser/renderer_host/resource_dispatcher_host.h |
diff --git a/content/browser/renderer_host/resource_dispatcher_host.h b/content/browser/renderer_host/resource_dispatcher_host.h |
index 944868444b1bc783e368b90836ac1027d781d86e..c3301e1b8e00dbbfc88028f5d4855de57a889ab9 100644 |
--- a/content/browser/renderer_host/resource_dispatcher_host.h |
+++ b/content/browser/renderer_host/resource_dispatcher_host.h |
@@ -235,6 +235,10 @@ class ResourceDispatcherHost : public net::URLRequest::Delegate { |
// Needed for the sync IPC message dispatcher macros. |
bool Send(IPC::Message* message); |
+ // Returns true if we should force the given resource to be downloaded. |
+ bool ShouldForceDownloadResource( |
jam
2011/06/08 00:18:17
how about just exposing delegate_? then we don't
Matt Perry
2011/06/08 00:33:37
Done.
|
+ const GURL& url, const std::string& mime_type); |
+ |
// Controls if we launch or squash prefetch requests as they arrive |
// from renderers. |
static bool is_prefetch_enabled(); |