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

Unified Diff: chrome/browser/history/history_backend.h

Issue 6969009: Reduced the lifetime of DownloadCreateInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed structure accessors from DownloadItem, per request. Created 9 years, 7 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/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 9bf83409eb82fad2b0688bc93205c1e62b828866..505e7f930660a8eb531c8d032522a12f4dd58b2a 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -25,7 +25,7 @@
#include "chrome/browser/search_engines/template_url_id.h"
class BookmarkService;
-struct DownloadCreateInfo;
+struct DownloadHistoryInfo;
class TestingProfile;
struct ThumbnailScore;
@@ -240,7 +240,7 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
void UpdateDownload(int64 received_bytes, int32 state, int64 db_handle);
void UpdateDownloadPath(const FilePath& path, int64 db_handle);
void CreateDownload(scoped_refptr<DownloadCreateRequest> request,
- const DownloadCreateInfo& info);
+ const DownloadHistoryInfo& info);
void RemoveDownload(int64 db_handle);
void RemoveDownloadsBetween(const base::Time remove_begin,
const base::Time remove_end);

Powered by Google App Engine
This is Rietveld 408576698