Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_STATUS_OBSERVER_H_ | |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_STATUS_OBSERVER_H_ | |
| 7 | |
| 8 struct MediaStatus; | |
| 9 | |
| 10 namespace media_router { | |
| 11 | |
| 12 // An interface for observing updates to the status of a Media Route. | |
|
mark a. foltz
2017/03/06 20:06:19
How is this interface specific to Media Routes?
takumif
2017/03/08 04:24:02
No, it's not really specific to media routes, but
mark a. foltz
2017/03/08 22:16:12
Only generated mojo bindings should be in the mojo
takumif
2017/03/09 19:45:30
There was a case where I was in the media_router n
mark a. foltz
2017/03/13 18:22:30
Maybe you don't need this class at all? Since you
| |
| 13 class MediaRouteStatusObserver { | |
| 14 public: | |
| 15 MediaRouteStatusObserver() {} | |
|
imcheng
2017/03/06 23:11:41
Constructors aren't required for interfaces. Also
takumif
2017/03/08 04:24:02
Removing the ctor, but I'm a bit hesitant to name
| |
| 16 virtual ~MediaRouteStatusObserver() {} | |
| 17 | |
| 18 virtual void OnMediaRouteStatusUpdated(const MediaStatus& status) = 0; | |
| 19 }; | |
| 20 | |
| 21 } // namespace media_router | |
| 22 | |
| 23 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_STATUS_OBSERVER_H_ | |
| OLD | NEW |