OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CHROME_BROWSER_MEDIA_ROUTER_ISSUES_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_ISSUES_OBSERVER_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_ISSUES_OBSERVER_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_ISSUES_OBSERVER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/media/router/issue.h" | 9 #include "chrome/common/media_router/issue.h" |
10 | 10 |
11 namespace media_router { | 11 namespace media_router { |
12 | 12 |
13 class MediaRouter; | 13 class MediaRouter; |
14 | 14 |
15 // Base class for observing Media Router Issue. There is at most one Issue | 15 // Base class for observing Media Router Issue. There is at most one Issue |
16 // at any given time. | 16 // at any given time. |
17 class IssuesObserver { | 17 class IssuesObserver { |
18 public: | 18 public: |
19 explicit IssuesObserver(MediaRouter* router); | 19 explicit IssuesObserver(MediaRouter* router); |
(...skipping 15 matching lines...) Expand all Loading... |
35 private: | 35 private: |
36 MediaRouter* router_; | 36 MediaRouter* router_; |
37 bool initialized_; | 37 bool initialized_; |
38 | 38 |
39 DISALLOW_COPY_AND_ASSIGN(IssuesObserver); | 39 DISALLOW_COPY_AND_ASSIGN(IssuesObserver); |
40 }; | 40 }; |
41 | 41 |
42 } // namespace media_router | 42 } // namespace media_router |
43 | 43 |
44 #endif // CHROME_BROWSER_MEDIA_ROUTER_ISSUES_OBSERVER_H_ | 44 #endif // CHROME_BROWSER_MEDIA_ROUTER_ISSUES_OBSERVER_H_ |
OLD | NEW |