Index: chrome/browser/media/router/media_route_status_observer.h |
diff --git a/chrome/browser/media/router/media_route_status_observer.h b/chrome/browser/media/router/media_route_status_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ceccf493a3c94711fa95e3fb2e41c2000cbbf55c |
--- /dev/null |
+++ b/chrome/browser/media/router/media_route_status_observer.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_STATUS_OBSERVER_H_ |
+#define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_STATUS_OBSERVER_H_ |
+ |
+struct MediaStatus; |
+ |
+namespace media_router { |
+ |
+// 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
|
+class MediaRouteStatusObserver { |
+ public: |
+ 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
|
+ virtual ~MediaRouteStatusObserver() {} |
+ |
+ virtual void OnMediaRouteStatusUpdated(const MediaStatus& status) = 0; |
+}; |
+ |
+} // namespace media_router |
+ |
+#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_STATUS_OBSERVER_H_ |