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

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: DownloadSaveInfo::offset is now int64. Created 9 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_create_info.h
diff --git a/content/browser/download/download_create_info.h b/content/browser/download/download_create_info.h
index 652de4f0c95e93c4fc7152444eca3fc92df52e5d..79c3aa0426cd576770425c4c13ae0875201a7492 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