Index: chrome/browser/history/history_backend.cc |
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc |
index 6f5d89f9477a3ca6783fa0d407b93ce75bb478a7..438f784a835ace84a4f62ad201840cb109da2443 100644 |
--- a/chrome/browser/history/history_backend.cc |
+++ b/chrome/browser/history/history_backend.cc |
@@ -20,7 +20,7 @@ |
#include "base/time.h" |
#include "chrome/browser/autocomplete/history_url_provider.h" |
#include "chrome/browser/bookmarks/bookmark_service.h" |
-#include "chrome/browser/history/download_create_info.h" |
+#include "chrome/browser/history/download_history_info.h" |
#include "chrome/browser/history/history_notifications.h" |
#include "chrome/browser/history/history_publisher.h" |
#include "chrome/browser/history/in_memory_history_backend.h" |
@@ -1132,13 +1132,13 @@ void HistoryBackend::UpdateDownloadPath(const FilePath& path, |
// Create a new download entry and pass back the db_handle to it. |
void HistoryBackend::CreateDownload( |
scoped_refptr<DownloadCreateRequest> request, |
- const DownloadCreateInfo& create_info) { |
+ int32 id, |
+ const DownloadHistoryInfo& history_info) { |
int64 db_handle = 0; |
if (!request->canceled()) { |
if (db_.get()) |
- db_handle = db_->CreateDownload(create_info); |
- request->ForwardResult(DownloadCreateRequest::TupleType(create_info, |
- db_handle)); |
+ db_handle = db_->CreateDownload(history_info); |
+ request->ForwardResult(DownloadCreateRequest::TupleType(id, db_handle)); |
} |
} |