| 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 WebPresentationSessionInfo_h | |
| 6 #define WebPresentationSessionInfo_h | |
| 7 | |
| 8 #include "public/platform/WebString.h" | |
| 9 #include "public/platform/WebURL.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 // A simple wrapper around blink::mojom::PresentationSessionInfo. Since the | |
| 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 | |
| 16 // mojo bindings alongside each other, going between Blink and the embedder | |
| 17 // requires this indirection. | |
| 18 struct WebPresentationSessionInfo { | |
| 19 WebPresentationSessionInfo(const WebURL& url, const WebString& id) | |
| 20 : url(url), id(id) {} | |
| 21 WebURL url; | |
| 22 WebString id; | |
| 23 }; | |
| 24 | |
| 25 } // namespace blink | |
| 26 | |
| 27 #endif // WebPresentationSessionInfo_h | |
| OLD | NEW |