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

Unified Diff: content/browser/download/download_item.cc

Issue 7825035: Implement chrome.experimental.downloads.search() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: comments Created 9 years, 2 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
Index: content/browser/download/download_item.cc
diff --git a/content/browser/download/download_item.cc b/content/browser/download/download_item.cc
index 6a6301fc261becdd55c280169d8fd9205c969922..d31c775e887dc915795802c1e53ad741c5a2f84c 100644
--- a/content/browser/download/download_item.cc
+++ b/content/browser/download/download_item.cc
@@ -120,8 +120,9 @@ const int DownloadItem::kUninitializedHandle = 0;
// Constructor for reading from the history service.
DownloadItem::DownloadItem(DownloadManager* download_manager,
- const DownloadPersistentStoreInfo& info)
- : download_id_(-1),
+ const DownloadPersistentStoreInfo& info,
+ int id)
+ : download_id_(id),
full_path_(info.path),
url_chain_(1, info.url),
referrer_url_(info.referrer_url),

Powered by Google App Engine
This is Rietveld 408576698