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

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: Merged with trunk 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
« no previous file with comments | « content/browser/download/base_file_unittest.cc ('k') | content/browser/download/download_file_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0369877d1c8d6289a987842bbe59782f7e92997e..90f9160da98c239402abb1a3598b117ce9b72fb3 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;
« no previous file with comments | « content/browser/download/base_file_unittest.cc ('k') | content/browser/download/download_file_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698