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

Unified Diff: chrome/browser/android/offline_pages/background_scheduler_bridge.cc

Issue 2420503002: [Offline Pages] Define separate watchdog timeout for concurrent bg loads (Closed)
Patch Set: Created 4 years, 2 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/background_scheduler_bridge.cc
diff --git a/chrome/browser/android/offline_pages/background_scheduler_bridge.cc b/chrome/browser/android/offline_pages/background_scheduler_bridge.cc
index 4feb822d2908db1a31d6bf7b240c128ddc1d5689..56d2bce565cc5ec5feff9305759602c9c97fae59 100644
--- a/chrome/browser/android/offline_pages/background_scheduler_bridge.cc
+++ b/chrome/browser/android/offline_pages/background_scheduler_bridge.cc
@@ -52,7 +52,8 @@ static jboolean StartProcessing(JNIEnv* env,
static_cast<net::NetworkChangeNotifier::ConnectionType>(
j_net_connection_type));
return coordinator->StartProcessing(
- device_conditions, base::Bind(&ProcessingDoneCallback, j_callback_ref));
+ true /* is_background_scheduled */, device_conditions,
Pete Williamson 2016/10/12 22:33:24 Let's not use a binary argument, they are hard to
dougarnett 2016/10/13 19:46:44 ok, trying enum internally instead and reverting p
+ base::Bind(&ProcessingDoneCallback, j_callback_ref));
}
void BackgroundSchedulerBridge::Schedule(

Powered by Google App Engine
This is Rietveld 408576698