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

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

Issue 8404049: Added member data to classes to support download resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment. Created 9 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_create_info.h
diff --git a/content/browser/download/download_create_info.h b/content/browser/download/download_create_info.h
index 4f5fe6add312db2e8da09be4e8b26ee997de7c30..41e07432ccd0de74383c346456c5b70a17bbc90d 100644
--- a/content/browser/download/download_create_info.h
+++ b/content/browser/download/download_create_info.h
@@ -88,9 +88,17 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// which may look at the file extension and first few bytes of the file.
std::string original_mime_type;
+ // For continuing a download, the modification time of the file.
+ // Storing as a string for exact match to server format on
+ // "If-Unmodified-Since" comparison.
+ std::string last_modified;
+
+ // For continuing a download, the ETAG of the file.
+ std::string etag;
+
// True if we should display the 'save as...' UI and prompt the user
// for the download location.
- // False if the UI should be supressed and the download performed to the
+ // False if the UI should be suppressed and the download performed to the
// default location.
bool prompt_user_for_save_location;

Powered by Google App Engine
This is Rietveld 408576698