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

Unified Diff: components/offline_pages/core/downloads/download_notifying_observer.cc

Issue 2806143002: Temporarily (for M58) disable byte counter on Download Page notifications. (Closed)
Patch Set: Created 3 years, 8 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 | « chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/core/downloads/download_notifying_observer.cc
diff --git a/components/offline_pages/core/downloads/download_notifying_observer.cc b/components/offline_pages/core/downloads/download_notifying_observer.cc
index 3783608812919c0e4d552a013c512ed46c4621eb..00cc67daf40b3a73b6fbb24d2302e1754e4ec842 100644
--- a/components/offline_pages/core/downloads/download_notifying_observer.cc
+++ b/components/offline_pages/core/downloads/download_notifying_observer.cc
@@ -67,9 +67,8 @@ void DownloadNotifyingObserver::OnChanged(const SavePageRequest& request) {
void DownloadNotifyingObserver::OnNetworkProgress(
const SavePageRequest& request,
int64_t received_bytes) {
- DownloadUIItem item(request);
- item.download_progress_bytes = received_bytes;
- notifier_->NotifyDownloadProgress(item);
+ // TODO(dimich): Enable this back in M59. See bug 704049 for more info and
+ // what was temporarily (for M58) reverted.
}
void DownloadNotifyingObserver::OnCompleted(
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698