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

Unified Diff: chrome/browser/history/download_row.cc

Issue 10915180: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r168573 Created 8 years, 1 month 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: chrome/browser/history/download_row.cc
diff --git a/content/public/browser/download_persistent_store_info.cc b/chrome/browser/history/download_row.cc
similarity index 66%
rename from content/public/browser/download_persistent_store_info.cc
rename to chrome/browser/history/download_row.cc
index 4ba5ffc4ff7951f8b80b175cf4e49a23c6139539..d3b553b7c309c818860f5d229cc19a3bd744ab13 100644
--- a/content/public/browser/download_persistent_store_info.cc
+++ b/chrome/browser/history/download_row.cc
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/browser/download_persistent_store_info.h"
+#include "chrome/browser/history/download_row.h"
-namespace content {
+namespace history {
-DownloadPersistentStoreInfo::DownloadPersistentStoreInfo()
+DownloadRow::DownloadRow()
: received_bytes(0),
total_bytes(0),
- state(DownloadItem::IN_PROGRESS),
+ state(content::DownloadItem::IN_PROGRESS),
db_handle(0),
opened(false) {
}
-DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
+DownloadRow::DownloadRow(
const FilePath& path,
const GURL& url,
const GURL& referrer,
@@ -22,7 +22,7 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
const base::Time& end,
int64 received,
int64 total,
- DownloadItem::DownloadState download_state,
+ content::DownloadItem::DownloadState download_state,
int64 handle,
bool download_opened)
: path(path),
@@ -37,7 +37,7 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
opened(download_opened) {
}
-DownloadPersistentStoreInfo::~DownloadPersistentStoreInfo() {
+DownloadRow::~DownloadRow() {
}
-} // namespace content
+} // namespace history

Powered by Google App Engine
This is Rietveld 408576698