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

Unified Diff: chrome/browser/background_sync/background_sync_controller_impl.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: Make BackgroundSyncLauncher testable 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: chrome/browser/background_sync/background_sync_controller_impl.h
diff --git a/chrome/browser/background_sync/background_sync_controller_impl.h b/chrome/browser/background_sync/background_sync_controller_impl.h
index 156a62445822aacc8fc532d3dc9bbce0c22c9883..0126149eec819de998d0b150731d092584a951b7 100644
--- a/chrome/browser/background_sync/background_sync_controller_impl.h
+++ b/chrome/browser/background_sync/background_sync_controller_impl.h
@@ -25,6 +25,12 @@ class BackgroundSyncControllerImpl : public content::BackgroundSyncController,
// content::BackgroundSyncController overrides.
void NotifyBackgroundSyncRegistered(const GURL& origin) override;
+#if defined(OS_ANDROID)
+ void LaunchBrowserWhenNextOnline(
+ const content::BackgroundSyncManager* registrant,
+ bool launch_when_next_online) override;
+#endif
+
protected:
// Virtual for testing.
virtual rappor::RapporService* GetRapporService();

Powered by Google App Engine
This is Rietveld 408576698