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

Unified Diff: content/browser/download/download_request_handle.cc

Issue 10831302: Download resumption - Preliminary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed signed/unsigned compare issue. Created 8 years, 1 month 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_request_handle.cc
diff --git a/content/browser/download/download_request_handle.cc b/content/browser/download/download_request_handle.cc
index 35b1125761675d4482163379e012c523f7c9c3dc..a8a536ed840be15870adbff6dc8c2b9f5cf8e42a 100644
--- a/content/browser/download/download_request_handle.cc
+++ b/content/browser/download/download_request_handle.cc
@@ -75,6 +75,14 @@ void DownloadRequestHandle::CancelRequest() const {
base::Bind(&DownloadResourceHandler::CancelRequest, handler_));
}
+void DownloadRequestHandle::SetRequestId(int new_request_id) {
+ request_id_ = new_request_id;
+}
+
+int DownloadRequestHandle::RequestId() const {
+ return request_id_;
+}
+
std::string DownloadRequestHandle::DebugString() const {
return base::StringPrintf("{"
" child_id = %d"
« no previous file with comments | « content/browser/download/download_request_handle.h ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698