| 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 35f5106c3eacf7beaf95ae55fdc2d81b4d90d16b..4b30ef81549831405ef748b9a8b090090db4d436 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/content_notification_types.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,
|
|
|