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

Side by Side Diff: public/platform/modules/navigator_services/WebServicePortCallbacks.h

Issue 1210633002: Update navigator.services API to use the new services.onconnect event [1/3]. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport-part3
Patch Set: rebase 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
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 WebServicePortCallbacks_h
6 #define WebServicePortCallbacks_h
7
8 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/modules/navigator_services/WebServicePort.h"
10
11 namespace blink {
12
13 using WebServicePortConnectCallbacks = WebCallbacks<WebServicePortID, void>;
14
15 // Ownership of the ports passed to onSuccess is kept with the caller, and its
16 // lifetime does not outlive past the end of the onSuccess call.
17 using WebServicePortConnectEventCallbacks = WebCallbacks<WebServicePort, void>;
18
19 } // namespace blink
20
21 #endif // WebServicePortCallbacks_h
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | public/platform/modules/navigator_services/WebServicePortProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698