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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.h

Issue 7135003: Remove last extension dependencies from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 6 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: 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();

Powered by Google App Engine
This is Rietveld 408576698