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

Unified Diff: chrome/browser/download/download_manager.h

Issue 7212017: Add save package download items to history. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/download/download_manager.h
===================================================================
--- chrome/browser/download/download_manager.h (revision 89670)
+++ chrome/browser/download/download_manager.h (working copy)
@@ -28,6 +28,7 @@
#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_
#pragma once
+#include <hash_map>
Paweł Hajdan Jr. 2011/06/21 08:05:30 Shouldn't this be base/hash_tables? But why is thi
achuithb 2011/06/21 22:51:37 It is base/hash_tables.h. I've made that change, b
Paweł Hajdan Jr. 2011/06/22 07:39:02 I'd say keep it, and report the linter bug to the
#include <map>
#include <set>
#include <string>
@@ -351,6 +352,9 @@
// containers; no-op if NDEBUG.
void AssertContainersConsistent() const;
+ // Add a DownloadItem to history_downloads_.
+ void AddDownloadItemToHistory(DownloadItem* item, int64 db_handle);
+
// |downloads_| is the owning set for all downloads known to the
// DownloadManager. This includes downloads started by the user in
// this session, downloads initialized from the history system, and
« no previous file with comments | « no previous file | chrome/browser/download/download_manager.cc » ('j') | chrome/browser/download/download_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698