| 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 module extensions; | 5 module extensions.mojom; |
| 6 | 6 |
| 7 struct WiFiDisplayMediaPacket { | 7 struct WiFiDisplayMediaPacket { |
| 8 array<uint8> data; | 8 array<uint8> data; |
| 9 }; | 9 }; |
| 10 | 10 |
| 11 // WiFiDisplaySessionService class provides access to the network for | 11 // WiFiDisplaySessionService class provides access to the network for |
| 12 // the render-hosted Wi-Fi Display session. | 12 // the render-hosted Wi-Fi Display session. |
| 13 interface WiFiDisplaySessionService { | 13 interface WiFiDisplaySessionService { |
| 14 SetClient(WiFiDisplaySessionServiceClient client); | 14 SetClient(WiFiDisplaySessionServiceClient client); |
| 15 | 15 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 // This interface is used to send media stream to the | 51 // This interface is used to send media stream to the |
| 52 // connected sink. | 52 // connected sink. |
| 53 interface WiFiDisplayMediaService { | 53 interface WiFiDisplayMediaService { |
| 54 // Sets the destination point for sending media stream. | 54 // Sets the destination point for sending media stream. |
| 55 SetDesinationPoint(string ip_address, int32 port) => (bool success); | 55 SetDesinationPoint(string ip_address, int32 port) => (bool success); |
| 56 | 56 |
| 57 // Sends media packet to the destination point. | 57 // Sends media packet to the destination point. |
| 58 SendMediaPacket(WiFiDisplayMediaPacket packet); | 58 SendMediaPacket(WiFiDisplayMediaPacket packet); |
| 59 }; | 59 }; |
| OLD | NEW |