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

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

Issue 9363001: Eliminate DownloadProgressUpdated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests work Created 8 years, 10 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/chrome_download_manager_delegate.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
index 04746e54907cd54b919495ad3f0d7f3eba2b4c17..433800a4c41f88d8f71fcbc0e3c3f2fd8ef8152f 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -296,19 +296,6 @@ void ChromeDownloadManagerDelegate::ChooseSavePath(
download_prefs_.get(), callback);
}
-void ChromeDownloadManagerDelegate::DownloadProgressUpdated() {
- if (!g_browser_process->download_status_updater())
- return;
-
- float progress = 0;
- int download_count = 0;
- bool progress_known =
- g_browser_process->download_status_updater()->GetProgress(
- &progress, &download_count);
- download_util::UpdateAppIconDownloadProgress(
- download_count, progress_known, progress);
-}
-
#if defined(ENABLE_SAFE_BROWSING)
DownloadProtectionService*
ChromeDownloadManagerDelegate::GetDownloadProtectionService() {
« no previous file with comments | « chrome/browser/download/chrome_download_manager_delegate.h ('k') | chrome/browser/download/download_status_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698