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

Unified Diff: chrome/browser/android/offline_pages/downloads/offline_page_notification_bridge.cc

Issue 2742833004: Fix the Download Notifications for Offline Pages to indicate bytes loaded. (Closed)
Patch Set: Created 3 years, 9 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/android/offline_pages/downloads/offline_page_notification_bridge.cc
diff --git a/chrome/browser/android/offline_pages/downloads/offline_page_notification_bridge.cc b/chrome/browser/android/offline_pages/downloads/offline_page_notification_bridge.cc
index a74f381fe122100d2367dd11fcb6d104303544e1..407d81ec10a8c429240d131936725c538ed6c7f8 100644
--- a/chrome/browser/android/offline_pages/downloads/offline_page_notification_bridge.cc
+++ b/chrome/browser/android/offline_pages/downloads/offline_page_notification_bridge.cc
@@ -56,7 +56,8 @@ void OfflinePageNotificationBridge::NotifyDownloadProgress(
Java_OfflinePageNotificationBridge_notifyDownloadProgress(
env, GetApplicationContext(), ConvertUTF8ToJavaString(env, item.guid),
ConvertUTF8ToJavaString(env, item.url.spec()),
- item.start_time.ToJavaTime(), GetDisplayName(item));
+ item.start_time.ToJavaTime(), item.download_progress_bytes,
+ GetDisplayName(item));
}
void OfflinePageNotificationBridge::NotifyDownloadPaused(

Powered by Google App Engine
This is Rietveld 408576698