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

Unified Diff: content/child/blink_platform_impl.h

Issue 1104283002: [Background Sync] Add renderer code to interface between JS API and back-end service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bgsync-mojo
Patch Set: Updates based on recent changes to mojo definitions. Created 5 years, 8 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/child/blink_platform_impl.h
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h
index 0019b366c9cb26badae8cfcf33ab1d778759c8fa..b4bf8e6f6e76613239b145ed668f42b132b3f20a 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -32,6 +32,7 @@ class MessageLoop;
}
namespace content {
+class BackgroundSyncProvider;
class FlingCurveConfiguration;
class NotificationDispatcher;
class PermissionDispatcher;
@@ -162,6 +163,7 @@ class CONTENT_EXPORT BlinkPlatformImpl
virtual blink::WebPushProvider* pushProvider();
virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider();
virtual blink::WebPermissionClient* permissionClient();
+ virtual blink::WebSyncProvider* backgroundSyncProvider();
void SuspendSharedTimer();
void ResumeSharedTimer();
@@ -202,6 +204,7 @@ class CONTENT_EXPORT BlinkPlatformImpl
scoped_refptr<NotificationDispatcher> notification_dispatcher_;
scoped_refptr<PushDispatcher> push_dispatcher_;
scoped_ptr<PermissionDispatcher> permission_client_;
+ scoped_ptr<BackgroundSyncProvider> sync_provider_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698