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

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: Make CallbackThreadAdapter own the wrapped callbacks Created 5 years, 7 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 7b7bceb9f57bf0c3336b8f542847f411869d254b..fb21387e7bb7b155574a068e29149537e683ae9a 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;
@@ -163,6 +164,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();
@@ -203,6 +205,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