Index: content/browser/loader/resource_dispatcher_host_impl.h |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h |
index e6f2241d9a05a424674fa0a3f16a06c50000451f..4f0cd48030d691c5de3df0e3473cc46d08c3e4e8 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.h |
+++ b/content/browser/loader/resource_dispatcher_host_impl.h |
@@ -62,7 +62,6 @@ class ResourceMessageFilter; |
class ResourceRequestInfoImpl; |
class SaveFileManager; |
class WebContentsImpl; |
-struct DownloadSaveInfo; |
struct Referrer; |
class CONTENT_EXPORT ResourceDispatcherHostImpl |
@@ -79,17 +78,6 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
// ResourceDispatcherHost implementation: |
virtual void SetDelegate(ResourceDispatcherHostDelegate* delegate) OVERRIDE; |
virtual void SetAllowCrossOriginAuthPrompt(bool value) OVERRIDE; |
- virtual net::Error BeginDownload( |
- scoped_ptr<net::URLRequest> request, |
- const Referrer& referrer, |
- bool is_content_initiated, |
- ResourceContext* context, |
- int child_id, |
- int route_id, |
- bool prefer_cache, |
- scoped_ptr<DownloadSaveInfo> save_info, |
- uint32 download_id, |
- const DownloadStartedCallback& started_callback) OVERRIDE; |
virtual void ClearLoginDelegateForRequest(net::URLRequest* request) OVERRIDE; |
virtual void BlockRequestsForRoute(int child_id, int route_id) OVERRIDE; |
virtual void ResumeBlockedRequestsForRoute( |
@@ -203,15 +191,9 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
// Must be called after the ResourceRequestInfo has been created |
// and associated with the request. |
- // |id| should be |content::DownloadItem::kInvalidId| to request automatic |
- // assignment. |
scoped_ptr<ResourceHandler> CreateResourceHandlerForDownload( |
net::URLRequest* request, |
- bool is_content_initiated, |
- bool must_download, |
- uint32 id, |
- scoped_ptr<DownloadSaveInfo> save_info, |
- const DownloadUrlParameters::OnStartedCallback& started_cb); |
+ bool must_download); |
// Must be called after the ResourceRequestInfo has been created |
// and associated with the request. |