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

Unified Diff: content/public/browser/download_persistent_store_info.cc

Issue 10823203: Fix downloads db state=3 corruption using version=23 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 4 months 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/public/browser/download_persistent_store_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_persistent_store_info.cc
diff --git a/content/public/browser/download_persistent_store_info.cc b/content/public/browser/download_persistent_store_info.cc
index b573002df5a66b3dc8e210ffa9a416b104e261e6..4ba5ffc4ff7951f8b80b175cf4e49a23c6139539 100644
--- a/content/public/browser/download_persistent_store_info.cc
+++ b/content/public/browser/download_persistent_store_info.cc
@@ -9,7 +9,7 @@ namespace content {
DownloadPersistentStoreInfo::DownloadPersistentStoreInfo()
: received_bytes(0),
total_bytes(0),
- state(0),
+ state(DownloadItem::IN_PROGRESS),
db_handle(0),
opened(false) {
}
@@ -22,7 +22,7 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
const base::Time& end,
int64 received,
int64 total,
- int32 download_state,
+ DownloadItem::DownloadState download_state,
int64 handle,
bool download_opened)
: path(path),
« no previous file with comments | « content/public/browser/download_persistent_store_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698