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

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

Issue 2400393002: Set up a backup schedule request if we have deferred requests. (Closed)
Patch Set: CR feedback per Dimich 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.h
diff --git a/chrome/browser/android/offline_pages/background_scheduler_bridge.h b/chrome/browser/android/offline_pages/background_scheduler_bridge.h
index 528f2c41e618cb335546604a69cb77828db032a5..cc962ab40f697b0c6cde95085f99ac8f92ce7a02 100644
--- a/chrome/browser/android/offline_pages/background_scheduler_bridge.h
+++ b/chrome/browser/android/offline_pages/background_scheduler_bridge.h
@@ -22,6 +22,8 @@ class BackgroundSchedulerBridge : public Scheduler {
public:
// Scheduler implementation.
void Schedule(const TriggerConditions& trigger_conditions) override;
+ void BackupSchedule(const TriggerConditions& trigger_conditions,
+ long delay_in_seconds) override;
void Unschedule() override;
private:
@@ -38,4 +40,3 @@ bool RegisterBackgroundSchedulerBridge(JNIEnv* env);
} // namespace offline_pages
#endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_BACKGROUND_SCHEDULER_BRIDGE_H_
-

Powered by Google App Engine
This is Rietveld 408576698