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

Unified Diff: content/browser/download/download_resource_handler.h

Issue 11571025: Initial CL for Downloads resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix try bot problems. Created 8 years 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/download/download_resource_handler.h
diff --git a/content/browser/download/download_resource_handler.h b/content/browser/download/download_resource_handler.h
index fc3e0299f50d75cf9fe593ccd0031fca756580ce..25d976ec6ac5044d36b90e1df85c0d6b994279d2 100644
--- a/content/browser/download/download_resource_handler.h
+++ b/content/browser/download/download_resource_handler.h
@@ -37,7 +37,9 @@ class DownloadResourceHandler
typedef DownloadUrlParameters::OnStartedCallback OnStartedCallback;
// started_cb will be called exactly once on the UI thread.
+ // |id| should be invalid if the id should be automatically assigned.
DownloadResourceHandler(
+ DownloadId id,
net::URLRequest* request,
const OnStartedCallback& started_cb,
scoped_ptr<DownloadSaveInfo> save_info);
@@ -97,6 +99,7 @@ class DownloadResourceHandler
void SetContentDisposition(const std::string& content_disposition);
+ DownloadId download_id_;
GlobalRequestID global_id_;
int render_view_id_;
std::string content_disposition_;

Powered by Google App Engine
This is Rietveld 408576698