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

Unified Diff: content/browser/background_sync/background_sync_manager.h

Issue 1324173002: [Background Sync] Use GcmNetworkManager to start the browser for sync events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@bgsync-fix-background5
Patch Set: Addressing comments from PS#25 Created 5 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: content/browser/background_sync/background_sync_manager.h
diff --git a/content/browser/background_sync/background_sync_manager.h b/content/browser/background_sync/background_sync_manager.h
index ee1bb84af84f6506ce072a4c775e1021ee48c28d..65f5ff205b1d2290eb1eb26a7faec2757fd81f67 100644
--- a/content/browser/background_sync/background_sync_manager.h
+++ b/content/browser/background_sync/background_sync_manager.h
@@ -274,6 +274,8 @@ class CONTENT_EXPORT BackgroundSyncManager
// seen (on Android the browser is instead woken up the next time it goes
// online). For periodic syncs this means creating an alarm.
void SchedulePendingRegistrations();
+ void SchedulePendingRegistrationsOnUIThread(
+ bool keep_browser_alive_for_one_shot);
// FireReadyEvents and callbacks
void FireReadyEvents();
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/background_sync/background_sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698