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

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

Issue 1191393003: Update client side navigator.connect API to use ServicePortCollection [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport
Patch Set: Created 5 years, 6 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 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 WebURL targetUrl;
scheib 2015/06/24 04:16:55 // Members corresponding to ServicePort.idl attrib
Marijn Kruisselbrink 2015/06/24 17:03:27 Done
17 WebString name;
18 WebString data;
19 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
20 };
21
22 } // namespace blink
23
24 #endif // WebServicePort_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698