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_MOCK_MEDIA_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "chrome/browser/media/router/issue.h" | |
14 #include "chrome/browser/media/router/media_route.h" | |
15 #include "chrome/browser/media/router/media_router_base.h" | 13 #include "chrome/browser/media/router/media_router_base.h" |
16 #include "chrome/browser/media/router/media_sink.h" | 14 #include "components/media_router/issue.h" |
17 #include "chrome/browser/media/router/media_source.h" | 15 #include "components/media_router/media_route.h" |
| 16 #include "components/media_router/media_sink.h" |
| 17 #include "components/media_router/media_source.h" |
18 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
19 #include "url/origin.h" | 19 #include "url/origin.h" |
20 | 20 |
21 namespace media_router { | 21 namespace media_router { |
22 | 22 |
23 // Media Router mock class. Used for testing purposes. | 23 // Media Router mock class. Used for testing purposes. |
24 class MockMediaRouter : public MediaRouterBase { | 24 class MockMediaRouter : public MediaRouterBase { |
25 public: | 25 public: |
26 MockMediaRouter(); | 26 MockMediaRouter(); |
27 ~MockMediaRouter() override; | 27 ~MockMediaRouter() override; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 private: | 109 private: |
110 base::CallbackList<void( | 110 base::CallbackList<void( |
111 const content::PresentationConnectionStateChangeInfo&)> | 111 const content::PresentationConnectionStateChangeInfo&)> |
112 connection_state_callbacks_; | 112 connection_state_callbacks_; |
113 }; | 113 }; |
114 | 114 |
115 } // namespace media_router | 115 } // namespace media_router |
116 | 116 |
117 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_ | 117 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_ |
OLD | NEW |