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

Unified Diff: content/browser/loader/buffered_resource_handler.cc

Issue 11571025: Initial CL for Downloads resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed CanResumeDownload (unused) and updated comment in RDH::BeginDownload. Created 7 years, 12 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/loader/buffered_resource_handler.cc
diff --git a/content/browser/loader/buffered_resource_handler.cc b/content/browser/loader/buffered_resource_handler.cc
index 591dfedf020e87f972deecff4b1cbc5466f52f27..54b94d8a4615cbd97ceda36337cab6d35ff2327d 100644
--- a/content/browser/loader/buffered_resource_handler.cc
+++ b/content/browser/loader/buffered_resource_handler.cc
@@ -18,6 +18,7 @@
#include "content/browser/plugin_service_impl.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
+#include "content/public/browser/download_id.h"
#include "content/public/browser/download_save_info.h"
#include "content/public/browser/resource_context.h"
#include "content/public/browser/resource_dispatcher_host_delegate.h"
@@ -343,6 +344,7 @@ bool BufferedResourceHandler::SelectNextHandler(bool* defer) {
request_,
true, // is_content_initiated
must_download,
+ DownloadId(),
scoped_ptr<DownloadSaveInfo>(new DownloadSaveInfo()),
DownloadResourceHandler::OnStartedCallback()));
return UseAlternateNextHandler(handler.Pass());

Powered by Google App Engine
This is Rietveld 408576698