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

Unified Diff: public/platform/Platform.h

Issue 963683002: Add IDL and initial Blink API for Background Sync (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing serviceWorkerRegistration.syncManager to interface tests Created 5 years, 9 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: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index c30e8d260c924fd0f1bf3ef4b6b7e84bfa786c7f..a71912a13b1ec9c7b1d4bf1ea910dedd74d1c2ed 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -101,6 +101,7 @@ class WebSocketHandle;
class WebSpeechSynthesizer;
class WebSpeechSynthesizerClient;
class WebStorageNamespace;
+class WebSyncProvider;
struct WebFloatPoint;
class WebThemeEngine;
class WebThread;
@@ -666,6 +667,10 @@ public:
virtual WebPermissionClient* permissionClient() { return 0; }
+ // Background Sync API------------------------------------------------------------
+
+ virtual WebSyncProvider* backgroundSyncProvider() { return 0; }
+
protected:
BLINK_PLATFORM_EXPORT Platform();
virtual ~Platform() { }
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl ('k') | public/platform/modules/background_sync/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698