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

Unified Diff: chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.cc

Issue 2736843002: Fix the Download Notifications for Offline Pages to indicate bytes loaded. (Closed)
Patch Set: more fixes to more tests. 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/evaluation/offline_page_evaluation_bridge.cc
diff --git a/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.cc b/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.cc
index db1d635c45bc1518ffb5aa19e55d14b726e71729..fdedb86f5ef0fc77228ae577caceed04ed7a9cbb 100644
--- a/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.cc
+++ b/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.cc
@@ -301,6 +301,10 @@ void OfflinePageEvaluationBridge::OnChanged(const SavePageRequest& request) {
env, obj, ToJavaSavePageRequest(env, request));
}
+void OfflinePageEvaluationBridge::OnNetworkProgress(
+ const SavePageRequest& request,
+ int64_t received_bytes) {}
+
void OfflinePageEvaluationBridge::CustomLog(const std::string& message) {
JNIEnv* env = base::android::AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = weak_java_ref_.get(env);

Powered by Google App Engine
This is Rietveld 408576698