Index: public/platform/modules/navigator_services/WebServicePort.h |
diff --git a/public/platform/modules/navigator_services/WebServicePort.h b/public/platform/modules/navigator_services/WebServicePort.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..598a684bdcc8ae984a5fa6b990cf24ddf14c8a10 |
--- /dev/null |
+++ b/public/platform/modules/navigator_services/WebServicePort.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebServicePort_h |
+#define WebServicePort_h |
+ |
+#include "public/platform/WebURL.h" |
+ |
+namespace blink { |
+ |
+using WebServicePortID = int; |
+ |
+// Struct containing the data representing a ServicePort. |
+struct WebServicePort { |
+ WebURL targetUrl; |
scheib
2015/06/24 04:16:55
// Members corresponding to ServicePort.idl attrib
Marijn Kruisselbrink
2015/06/24 17:03:27
Done
|
+ WebString name; |
+ WebString data; |
+ WebServicePortID id = -1; |
scheib
2015/06/24 04:16:55
Any attributes about this id? Unique across all of
Marijn Kruisselbrink
2015/06/24 17:03:27
Done
|
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebServicePort_h |