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 WebServicePort_h |
| 6 #define WebServicePort_h |
| 7 |
| 8 #include "public/platform/WebURL.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 using WebServicePortID = int; |
| 13 |
| 14 // Struct containing the data representing a ServicePort. |
| 15 struct WebServicePort { |
| 16 // Members corresponding to ServicePort.idl attributes. |
| 17 WebURL targetUrl; |
| 18 WebString name; |
| 19 WebString data; |
| 20 |
| 21 // Unique ID to identify this port. |
| 22 WebServicePortID id = -1; |
| 23 }; |
| 24 |
| 25 } // namespace blink |
| 26 |
| 27 #endif // WebServicePort_h |
OLD | NEW |