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

Side by Side Diff: public/platform/WebNavigatorConnectProvider.h

Issue 782463002: Expose navigator.connect client side API in blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add comment Created 6 years 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
OLDNEW
(Empty)
1 // Copyright 2014 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 WebNavigatorConnectProvider_h
6 #define WebNavigatorConnectProvider_h
7
8 #include "WebCallbacks.h"
9
10 namespace blink {
11
12 class WebMessagePortChannel;
13 class WebURL;
14
15 class WebNavigatorConnectProvider {
16 public:
17 virtual ~WebNavigatorConnectProvider() { }
18
19 // Initiates a connection to the given URL. When succesfull the service
20 // can communicate with the client over the given channel.
21 // Ownership of the WebCallbacks is transferred to the provider.
22 virtual void connect(const WebURL&, WebMessagePortChannel*, WebCallbacks<voi d, void>*) { }
scheib 2014/12/05 17:39:35 Ownership of WebMessagePortChannel is also transfe
Marijn Kruisselbrink 2014/12/08 18:50:36 Done.
23 };
24
25 } // namespace blink
26
27 #endif // WebNavigatorConnectProvider_h
OLDNEW
« Source/modules/navigatorconnect/NavigatorConnect.cpp ('K') | « public/platform/Platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698