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

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

Issue 7192016: chrome.experimental.downloads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Bearings Before Woods 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
diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h
index e3ffd0291865a7b046fa79421abb3821db9695f3..a9ddefa878834a0c1b4715e01354c48ff33712f7 100644
--- a/chrome/browser/download/download_manager.h
+++ b/chrome/browser/download/download_manager.h
@@ -261,6 +261,10 @@ class DownloadManager
// in the DownloadManager. For debugging.
void AssertQueueStateConsistent(DownloadItem* download);
+ // Get the download item from the history map. Useful after the item has
+ // been removed from the active map, or was retrieved from the history DB.
+ DownloadItem* GetDownloadItem(int id);
+
private:
// For testing.
friend class DownloadManagerTest;
@@ -339,10 +343,6 @@ class DownloadManager
// Inform observers that the model has changed.
void NotifyModelChanged();
- // Get the download item from the history map. Useful after the item has
- // been removed from the active map, or was retrieved from the history DB.
- DownloadItem* GetDownloadItem(int id);
-
// Get the download item from the active map. Useful when the item is not
// yet in the history map.
DownloadItem* GetActiveDownloadItem(int id);
« no previous file with comments | « no previous file | chrome/browser/download/download_util.cc » ('j') | chrome/browser/extensions/extension_downloads.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698