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

Side by Side Diff: public/platform/modules/navigator_services/WebServicePortProviderClient.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, 5 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 unified diff | Download patch
« no previous file with comments | « public/platform/modules/navigator_services/WebServicePortProvider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebServicePortProviderClient_h
6 #define WebServicePortProviderClient_h
7
8 #include "public/platform/WebCommon.h"
9
10 namespace blink {
11
12 // Interface implemented by blink, used for communication back from embedding
13 // code to blink. An instance of this interface is passed to the embedder when
14 // a WebServicePortProvider is created.
15 class WebServicePortProviderClient {
16 public:
17 // Post a message to one of the ports owned by a ServicePortCollection.
18 virtual void postMessage(WebServicePortID, const WebString&, const WebMessag ePortChannelArray&) = 0;
19
20 protected:
21 virtual ~WebServicePortProviderClient() {}
22 };
23
24 } // namespace blink
25
26 #endif // WebServicePortProviderClient_h
OLDNEW
« no previous file with comments | « public/platform/modules/navigator_services/WebServicePortProvider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698