OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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.mojom; | 5 module media_router.mojom; |
6 | 6 |
7 import "mojo/common/time.mojom"; | 7 import "mojo/common/time.mojom"; |
8 | 8 |
9 // Represents the current state of a media content. This struct should be kept | 9 // Represents the current state of a media content. This struct should be kept |
10 // free of details specific to Media Router, so that it can be moved to the | 10 // free of details specific to Media Router, so that it can be moved to the |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 mojo.common.mojom.TimeDelta current_time; | 51 mojo.common.mojom.TimeDelta current_time; |
52 }; | 52 }; |
53 | 53 |
54 // Interface for being notified whenever the MediaStatus of a media changes. | 54 // Interface for being notified whenever the MediaStatus of a media changes. |
55 // This interface should be kept free of details specific to Media Router, so | 55 // This interface should be kept free of details specific to Media Router, so |
56 // that it can be moved to the media namespace and be reused for other features | 56 // that it can be moved to the media namespace and be reused for other features |
57 // in the future. | 57 // in the future. |
58 interface MediaStatusObserver { | 58 interface MediaStatusObserver { |
59 OnMediaStatusUpdated(MediaStatus status); | 59 OnMediaStatusUpdated(MediaStatus status); |
60 }; | 60 }; |
OLD | NEW |