| 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 media_router.interfaces; | 5 module media_router.mojom; |
| 6 | 6 |
| 7 // Represents an output sink to which media can be routed. | 7 // Represents an output sink to which media can be routed. |
| 8 struct MediaSink { | 8 struct MediaSink { |
| 9 enum IconType { | 9 enum IconType { |
| 10 CAST, | 10 CAST, |
| 11 CAST_AUDIO, | 11 CAST_AUDIO, |
| 12 CAST_AUDIO_GROUP, | 12 CAST_AUDIO_GROUP, |
| 13 GENERIC, | 13 GENERIC, |
| 14 HANGOUT | 14 HANGOUT |
| 15 }; | 15 }; |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 | 383 |
| 384 // Called when the a batch of messages arrives from the media sink for the | 384 // Called when the a batch of messages arrives from the media sink for the |
| 385 // route given by |route_id|. | 385 // route given by |route_id|. |
| 386 // |StartListeningForRouteMessages| must be called first in order to receive | 386 // |StartListeningForRouteMessages| must be called first in order to receive |
| 387 // messages. | 387 // messages. |
| 388 // |route_id|: ID of route of the messages. | 388 // |route_id|: ID of route of the messages. |
| 389 // |messages|: A non-empty list of messages received. | 389 // |messages|: A non-empty list of messages received. |
| 390 OnRouteMessagesReceived(string route_id, | 390 OnRouteMessagesReceived(string route_id, |
| 391 array<RouteMessage> messages); | 391 array<RouteMessage> messages); |
| 392 }; | 392 }; |
| OLD | NEW |