| Index: content/browser/download/download_persistent_store_info.cc
|
| diff --git a/content/browser/download/download_persistent_store_info.cc b/content/browser/download/download_persistent_store_info.cc
|
| index a15f1b7e4518fb1d230c8fecff40abc848ec37b1..d498800202e1cd95910fc1897291c418ccefccc3 100644
|
| --- a/content/browser/download/download_persistent_store_info.cc
|
| +++ b/content/browser/download/download_persistent_store_info.cc
|
| @@ -11,11 +11,13 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo()
|
| total_bytes(0),
|
| state(0),
|
| db_handle(0),
|
| - opened(false) {
|
| + opened(false),
|
| + last_reason(DOWNLOAD_INTERRUPT_REASON_NONE) {
|
| }
|
|
|
| DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
|
| const FilePath& path,
|
| + const FilePath& target,
|
| const GURL& url,
|
| const GURL& referrer,
|
| const base::Time& start,
|
| @@ -24,8 +26,13 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
|
| int64 total,
|
| int32 download_state,
|
| int64 handle,
|
| - bool download_opened)
|
| + bool download_opened,
|
| + const std::string& hash_state_pickle,
|
| + const std::string& last_modified,
|
| + const std::string& etag,
|
| + InterruptReason reason)
|
| : path(path),
|
| + target_name(target),
|
| url(url),
|
| referrer_url(referrer),
|
| start_time(start),
|
| @@ -34,7 +41,11 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
|
| total_bytes(total),
|
| state(download_state),
|
| db_handle(handle),
|
| - opened(download_opened) {
|
| + opened(download_opened),
|
| + hash_state(hash_state_pickle),
|
| + last_modified_time(last_modified),
|
| + etag(etag),
|
| + last_reason(reason) {
|
| }
|
|
|
| DownloadPersistentStoreInfo::~DownloadPersistentStoreInfo() {
|
|
|