Index: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java |
index 423761f8116e0b4c8e32a6574d2de83f5bdfc002..79099f18aac7eb239d1856cba5334837c727ad32 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java |
@@ -37,6 +37,11 @@ public class BackgroundSchedulerBridge { |
} |
@CalledByNative |
+ private static void backupSchedule(TriggerConditions triggerConditions, long delayInSeconds) { |
+ BackgroundScheduler.schedule(ContextUtils.getApplicationContext(), triggerConditions); |
dougarnett
2016/10/17 18:33:40
delayInSeconds not used here? Missing a TODO at le
|
+ } |
+ |
+ @CalledByNative |
private static void unschedule() { |
BackgroundScheduler.unschedule(ContextUtils.getApplicationContext()); |
} |