OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_LOCAL_MEDIA_ROUTES_OBSERVER_H_ | |
6 #define CHROME_BROWSER_MEDIA_ROUTER_LOCAL_MEDIA_ROUTES_OBSERVER_H_ | |
7 | |
8 #include <vector> | |
9 | |
10 // #include "base/macros.h" | |
imcheng
2015/10/01 18:46:50
remove these includes? they don't appear to be use
apacible
2015/10/01 23:21:47
Done.
| |
11 #include "chrome/browser/media/router/media_route.h" | |
12 | |
13 namespace media_router { | |
14 | |
15 class MediaRouter; | |
16 | |
17 // Base class for observing when a new route has been created locally. | |
18 class LocalMediaRoutesObserver { | |
19 public: | |
20 explicit LocalMediaRoutesObserver(MediaRouter* router); | |
21 virtual ~LocalMediaRoutesObserver(); | |
22 | |
23 // Called when a local route has been successfully created. | |
24 virtual void OnLocalRouteCreated() {} | |
25 | |
26 private: | |
27 MediaRouter* router_; | |
imcheng
2015/10/01 18:46:49
MediaRouter* const router_;
apacible
2015/10/01 23:21:47
Done.
| |
28 | |
29 DISALLOW_COPY_AND_ASSIGN(LocalMediaRoutesObserver); | |
30 }; | |
31 | |
32 } // namespace media_router | |
33 | |
34 #endif // CHROME_BROWSER_MEDIA_ROUTER_LOCAL_MEDIA_ROUTES_OBSERVER_H_ | |
OLD | NEW |