| 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 ee476d09a7af150bee15d3aae7423658cf38b343..9c7dad6d2265b105a83d529ffc605b0a55cd3d32 100644
|
| --- a/content/browser/renderer_host/resource_dispatcher_host.h
|
| +++ b/content/browser/renderer_host/resource_dispatcher_host.h
|
| @@ -21,6 +21,7 @@
|
| #include "base/gtest_prod_util.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/timer.h"
|
| +#include "chrome/browser/renderer_host/download_resource_handler.h"
|
| #include "content/browser/renderer_host/resource_queue.h"
|
| #include "content/common/child_process_info.h"
|
| #include "content/common/notification_type.h"
|
| @@ -77,6 +78,14 @@ class ResourceDispatcherHost : public net::URLRequest::Delegate {
|
|
|
| // Initiates a download from the browser process (as opposed to a resource
|
| // request from the renderer or another child process).
|
| + void BeginDownload(
|
| + net::URLRequest* request, // ownership is taken
|
| + const DownloadSaveInfo& save_info,
|
| + bool prompt_for_save_location,
|
| + DownloadResourceHandler::OnStartedCallback started_cb,
|
| + int child_id,
|
| + int route_id,
|
| + const content::ResourceContext& context);
|
| void BeginDownload(const GURL& url,
|
| const GURL& referrer,
|
| const DownloadSaveInfo& save_info,
|
|
|