| Index: content/public/browser/resource_dispatcher_host.h
|
| diff --git a/content/public/browser/resource_dispatcher_host.h b/content/public/browser/resource_dispatcher_host.h
|
| index 0d4a624f2e8c5c02cad488f35a3bf4e2bf4421f5..f1830603b5f704c4ebfc3cf9744ccba62316397d 100644
|
| --- a/content/public/browser/resource_dispatcher_host.h
|
| +++ b/content/public/browser/resource_dispatcher_host.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_
|
|
|
| #include "base/callback_forward.h"
|
| +#include "content/common/content_export.h"
|
| #include "net/base/net_errors.h"
|
|
|
| namespace net {
|
| @@ -36,28 +37,6 @@ class CONTENT_EXPORT ResourceDispatcherHost {
|
| // dialog boxes.
|
| virtual void SetAllowCrossOriginAuthPrompt(bool value) = 0;
|
|
|
| - // Initiates a download by explicit request of the renderer (e.g. due to
|
| - // alt-clicking a link) or some other chrome subsystem.
|
| - // |is_content_initiated| is used to indicate that the request was generated
|
| - // from a web page, and hence may not be as trustworthy as a browser
|
| - // generated request. If |download_id| is invalid, a download id will be
|
| - // automatically assigned to the request, otherwise the specified download id
|
| - // will be used. (Note that this will result in re-use of an existing
|
| - // download item if the download id was already assigned.) If the download
|
| - // is started, |started_callback| will be called on the UI thread with the
|
| - // DownloadItem; otherwise an error code will be returned.
|
| - 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) = 0;
|
| -
|
| // Clears the ResourceDispatcherHostLoginDelegate associated with the request.
|
| virtual void ClearLoginDelegateForRequest(net::URLRequest* request) = 0;
|
|
|
|
|