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

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

Issue 74523002: [Downloads] Update origin info after each response. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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_item_impl.h
diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
index 2086a54a89d80e88e51b9e1fb5f7409a1f4469f4..804afa671b765e4e8b9ee9b5c78201bb0b876346 100644
--- a/content/browser/download/download_item_impl.h
+++ b/content/browser/download/download_item_impl.h
@@ -163,6 +163,11 @@ class CONTENT_EXPORT DownloadItemImpl
// INTERRUPTED state.
virtual ResumeMode GetResumeMode() const;
+ // Notify the download item that new origin information is available due to a
+ // resumption request receiving a response.
+ virtual void MergeOriginInfoOnResume(
+ const DownloadCreateInfo& new_create_info);
+
Randy Smith (Not in Mondays) 2013/11/18 22:15:56 Long-term (:-J) I'd like to separate out the origi
asanka 2013/11/19 23:54:19 Agreed.
// State transition operations on regular downloads --------------------------
// Start the download.

Powered by Google App Engine
This is Rietveld 408576698