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

Unified Diff: content/public/browser/background_sync_parameters.h

Issue 1536023002: [BackgroundSync] Add max sync event duration to BackgroundSyncParameters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sync_time2
Patch Set: Rename a constant to match the others Created 5 years 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: content/public/browser/background_sync_parameters.h
diff --git a/content/public/browser/background_sync_parameters.h b/content/public/browser/background_sync_parameters.h
index 631b943b40f39f6c182c8e90434d8cf2267dcea1..1c1afaeac9f9a39d8b93f8ab747b171912debcdb 100644
--- a/content/public/browser/background_sync_parameters.h
+++ b/content/public/browser/background_sync_parameters.h
@@ -35,6 +35,9 @@ struct CONTENT_EXPORT BackgroundSyncParameters {
// The minimum time to wait before waking the browser in case the browser
// closes mid-sync.
base::TimeDelta min_sync_recovery_time;
+
+ // The maximum amount of time that a sync event can run for.
+ base::TimeDelta max_sync_event_duration;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698