| 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..043dc5d493115679cbd990a0d296c00a2827dd29 100644
|
| --- a/content/browser/download/download_persistent_store_info.cc
|
| +++ b/content/browser/download/download_persistent_store_info.cc
|
| @@ -11,7 +11,9 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo()
|
| total_bytes(0),
|
| state(0),
|
| db_handle(0),
|
| - opened(false) {
|
| + opened(false),
|
| + local_id(-1),
|
| + last_reason(DOWNLOAD_INTERRUPT_REASON_NONE) {
|
| }
|
|
|
| DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
|
| @@ -24,7 +26,12 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
|
| int64 total,
|
| int32 download_state,
|
| int64 handle,
|
| - bool download_opened)
|
| + bool download_opened,
|
| + int32 local_id,
|
| + const std::string& hash,
|
| + const std::string& last_modified,
|
| + const std::string& etag,
|
| + InterruptReason reason)
|
| : path(path),
|
| url(url),
|
| referrer_url(referrer),
|
| @@ -34,7 +41,12 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
|
| total_bytes(total),
|
| state(download_state),
|
| db_handle(handle),
|
| - opened(download_opened) {
|
| + opened(download_opened),
|
| + local_id(local_id),
|
| + hash(hash),
|
| + last_modified_time(last_modified),
|
| + etag(etag),
|
| + last_reason(reason) {
|
| }
|
|
|
| DownloadPersistentStoreInfo::~DownloadPersistentStoreInfo() {
|
|
|