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

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

Issue 10915180: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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: chrome/browser/history/download_persistent_store_info.cc
diff --git a/content/public/browser/download_persistent_store_info.cc b/chrome/browser/history/download_persistent_store_info.cc
similarity index 82%
rename from content/public/browser/download_persistent_store_info.cc
rename to chrome/browser/history/download_persistent_store_info.cc
index 4ba5ffc4ff7951f8b80b175cf4e49a23c6139539..d88ca9d45f061612b3b70cdc4bdc3cb4b8024400 100644
--- a/content/public/browser/download_persistent_store_info.cc
+++ b/chrome/browser/history/download_persistent_store_info.cc
@@ -2,14 +2,12 @@
// 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"
-
-namespace content {
+#include "chrome/browser/history/download_persistent_store_info.h"
DownloadPersistentStoreInfo::DownloadPersistentStoreInfo()
: received_bytes(0),
total_bytes(0),
- state(DownloadItem::IN_PROGRESS),
+ state(content::DownloadItem::IN_PROGRESS),
db_handle(0),
opened(false) {
}
@@ -22,7 +20,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),
@@ -39,5 +37,3 @@ DownloadPersistentStoreInfo::DownloadPersistentStoreInfo(
DownloadPersistentStoreInfo::~DownloadPersistentStoreInfo() {
}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698