OLD | NEW |
(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 |
OLD | NEW |