Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: chrome/browser/media/router/media_route_status_observer.h

Issue 2727123002: [Media Router] Custom Controls 1 - Add MediaStatus, MediaRouteController, and mojo interfaces (Closed)
Patch Set: . Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698