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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.cc

Issue 10832174: Fire a notification in Windows 8 metro chrome which informs the user about a completed download. Th… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | chrome/browser/download/download_completion_observer_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/chrome_download_manager_delegate.cc
===================================================================
--- chrome/browser/download/chrome_download_manager_delegate.cc (revision 150178)
+++ chrome/browser/download/chrome_download_manager_delegate.cc (working copy)
@@ -60,6 +60,10 @@
#include "chrome/browser/download/save_package_file_picker_chromeos.h"
#endif
+#if defined(OS_WIN)
+#include "chrome/browser/download/download_completion_observer_win.h"
+#endif // OS_WIN
+
using content::BrowserContext;
using content::BrowserThread;
using content::DownloadId;
@@ -139,6 +143,11 @@
extension_event_router_.reset(new ExtensionDownloadsEventRouter(
profile_, download_manager_));
#endif
+
+#if defined(OS_WIN)
+ DownloadCompletionObserver* download_completion =
+ new DownloadCompletionObserver(dm);
+#endif // OS_WIN
}
void ChromeDownloadManagerDelegate::Shutdown() {
« no previous file with comments | « no previous file | chrome/browser/download/download_completion_observer_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698