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

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

Issue 3177034: Makes the download shelf auto-close after the user opens all downloads (Closed)
Patch Set: Have OnDownloadOpened invoked before opened to match old behavior Created 10 years, 4 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 7a45f6652126fb39954fbea3a81522fb9f553450..1f9830c7ce12f8aab5b52a0a35e2e1fbe396c683 100644
--- a/chrome/browser/download/download_manager.h
+++ b/chrome/browser/download/download_manager.h
@@ -165,8 +165,7 @@ class DownloadManager : public base::RefCountedThreadSafe<DownloadManager>,
// Opens a download. For Chrome extensions call
// ExtensionsServices::InstallExtension, for everything else call
// OpenDownloadInShell.
- void OpenDownload(const DownloadItem* download,
- gfx::NativeView parent_window);
+ void OpenDownload(DownloadItem* download, gfx::NativeView parent_window);
// Show a download via the Windows shell.
void ShowDownloadInShell(const DownloadItem* download);
@@ -238,7 +237,7 @@ class DownloadManager : public base::RefCountedThreadSafe<DownloadManager>,
~DownloadManager();
// Opens a download via the Windows shell.
- void OpenDownloadInShell(const DownloadItem* download,
+ void OpenDownloadInShell(DownloadItem* download,
gfx::NativeView parent_window);
// Shutdown the download manager. This call is needed only after Init.

Powered by Google App Engine
This is Rietveld 408576698