OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebPresentationSessionInfo_h | 5 #ifndef WebPresentationInfo_h |
6 #define WebPresentationSessionInfo_h | 6 #define WebPresentationInfo_h |
7 | 7 |
8 #include "public/platform/WebString.h" | 8 #include "public/platform/WebString.h" |
9 #include "public/platform/WebURL.h" | 9 #include "public/platform/WebURL.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 // A simple wrapper around blink::mojom::PresentationSessionInfo. Since the | 13 // A simple wrapper around blink::mojom::PresentationInfo. Since the |
14 // presentation API has not been Onion Soup-ed, there are portions implemented | 14 // Presentation API has not been Onion Soup-ed, there are portions implemented |
15 // in Blink and the embedder. Because it is not possible to use the STL and WTF | 15 // in Blink and the embedder. Because it is not possible to use the STL and WTF |
16 // mojo bindings alongside each other, going between Blink and the embedder | 16 // mojo bindings alongside each other, going between Blink and the embedder |
17 // requires this indirection. | 17 // requires this indirection. |
18 struct WebPresentationSessionInfo { | 18 struct WebPresentationInfo { |
19 WebPresentationSessionInfo(const WebURL& url, const WebString& id) | 19 WebPresentationInfo(const WebURL& url, const WebString& id) |
20 : url(url), id(id) {} | 20 : url(url), id(id) {} |
21 WebURL url; | 21 WebURL url; |
22 WebString id; | 22 WebString id; |
23 }; | 23 }; |
24 | 24 |
25 } // namespace blink | 25 } // namespace blink |
26 | 26 |
27 #endif // WebPresentationSessionInfo_h | 27 #endif // WebPresentationInfo_h |
OLD | NEW |