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

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

Issue 10974009: Rename HyperbolicDownloadItemNotifer -> AllDownloadItemNotifier (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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_status_updater.cc
diff --git a/chrome/browser/download/download_status_updater.cc b/chrome/browser/download/download_status_updater.cc
index 31f6cf3e89697388bbce0b43857f68e1124e2099..fcc1d13359740ea30ea0d48c3f0ee5efaa697880 100644
--- a/chrome/browser/download/download_status_updater.cc
+++ b/chrome/browser/download/download_status_updater.cc
@@ -60,7 +60,7 @@ bool DownloadStatusUpdater::GetProgress(float* progress,
int64 received_bytes = 0;
int64 total_bytes = 0;
- for (std::vector<HyperbolicDownloadItemNotifier*>::const_iterator it =
+ for (std::vector<AllDownloadItemNotifier*>::const_iterator it =
notifiers_.begin(); it != notifiers_.end(); ++it) {
if ((*it)->GetManager()) {
content::DownloadManager::DownloadVector items;
@@ -87,7 +87,7 @@ bool DownloadStatusUpdater::GetProgress(float* progress,
}
void DownloadStatusUpdater::AddManager(content::DownloadManager* manager) {
- notifiers_.push_back(new HyperbolicDownloadItemNotifier(manager, this));
+ notifiers_.push_back(new AllDownloadItemNotifier(manager, this));
content::DownloadManager::DownloadVector items;
manager->GetAllDownloads(&items);
for (content::DownloadManager::DownloadVector::const_iterator
« no previous file with comments | « chrome/browser/download/download_status_updater.h ('k') | chrome/browser/download/hyperbolic_download_item_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698