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

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: Rearranged structures for greater consistency. 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..b61e9bfe96be78855deedfaf3abc12fffdedfe88 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 restarting a download, the modification time of the file.
Randy Smith (Not in Mondays) 2011/11/22 17:37:49 nit: This is really (as I understand your vocabula
ahendrickson 2011/11/22 23:46:44 Done.
+ // Storing as a string for exact match to server format on
+ // "If-Unmodified-Since" comparison.
+ std::string last_modified;
+
+ // For restarting 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