| 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 // TODO(crbug.com/647290): Rename "Session" to "Connection" | 5 // TODO(crbug.com/647290): Rename "Session" to "Connection" |
| 6 | 6 |
| 7 module blink.mojom; | 7 module content.mojom; |
| 8 | 8 |
| 9 import "url/mojo/url.mojom"; | 9 import "url/mojo/url.mojom"; |
| 10 | 10 |
| 11 struct PresentationSessionInfo { | 11 struct PresentationSessionInfo { |
| 12 url.mojom.Url url; | 12 url.mojom.Url url; |
| 13 string id; | 13 string id; |
| 14 }; | 14 }; |
| 15 | 15 |
| 16 enum PresentationConnectionState { | 16 enum PresentationConnectionState { |
| 17 CONNECTING, | 17 CONNECTING, |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // See PresentationService::ListenForConnectionMessages. | 139 // See PresentationService::ListenForConnectionMessages. |
| 140 OnConnectionMessagesReceived(PresentationSessionInfo sessionInfo, | 140 OnConnectionMessagesReceived(PresentationSessionInfo sessionInfo, |
| 141 array<ConnectionMessage> messages); | 141 array<ConnectionMessage> messages); |
| 142 | 142 |
| 143 // See PresentationService::SetDefaultPresentationURL. | 143 // See PresentationService::SetDefaultPresentationURL. |
| 144 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo); | 144 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo); |
| 145 | 145 |
| 146 // See PresentationService::OnReceiverConnectionAvailable. | 146 // See PresentationService::OnReceiverConnectionAvailable. |
| 147 OnReceiverConnectionAvailable(PresentationSessionInfo sessionInfo); | 147 OnReceiverConnectionAvailable(PresentationSessionInfo sessionInfo); |
| 148 }; | 148 }; |
| OLD | NEW |