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

Unified Diff: public/platform/Platform.h

Issue 1191393003: Update client side navigator.connect API to use ServicePortCollection [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport
Patch Set: address more comments Created 5 years, 6 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 35d0da7ee15d4375ac6fee15defff5e4949db628..1115439058732c3e585b173dd625befc056f80ee 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -97,8 +97,10 @@ class WebPushProvider;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
class WebSandboxSupport;
-class WebSecurityOrigin;
class WebScrollbarBehavior;
+class WebSecurityOrigin;
+class WebServicePortProvider;
+class WebServicePortProviderClient;
class WebServiceWorkerCacheStorage;
class WebSocketHandle;
class WebSpeechSynthesizer;
@@ -712,6 +714,11 @@ public:
virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return nullptr; }
+ // Returns pointer to a new blink owned WebServicePortProvider instance,
+ // associated with a particular ServicePortCollection (identified by the
+ // WebServicePortProviderClient passed in).
+ virtual WebServicePortProvider* createServicePortProvider(WebServicePortProviderClient*) { return nullptr; }
+
// Permissions --------------------------------------------------------
virtual WebPermissionClient* permissionClient() { return nullptr; }
« no previous file with comments | « Source/modules/navigatorconnect/WorkerNavigatorServices.h ('k') | public/platform/modules/navigator_services/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698