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_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "chrome/browser/media/router/mock_media_router.h" | 12 #include "chrome/browser/media/router/mock_media_router.h" |
13 #include "chrome/browser/media/router/mojo/media_router.mojom.h" | |
14 #include "chrome/browser/media/router/mojo/media_router_mojo_impl.h" | 13 #include "chrome/browser/media/router/mojo/media_router_mojo_impl.h" |
15 #include "chrome/browser/media/router/test_helper.h" | 14 #include "chrome/browser/media/router/test_helper.h" |
| 15 #include "chrome/common/media_router/mojo/media_router.mojom.h" |
16 #include "chrome/test/base/testing_profile.h" | 16 #include "chrome/test/base/testing_profile.h" |
17 #include "content/public/test/test_browser_thread_bundle.h" | 17 #include "content/public/test/test_browser_thread_bundle.h" |
18 #include "extensions/browser/event_page_tracker.h" | 18 #include "extensions/browser/event_page_tracker.h" |
19 #include "extensions/common/extension.h" | 19 #include "extensions/common/extension.h" |
20 #include "mojo/public/cpp/bindings/binding.h" | 20 #include "mojo/public/cpp/bindings/binding.h" |
21 #include "testing/gmock/include/gmock/gmock.h" | 21 #include "testing/gmock/include/gmock/gmock.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 | 23 |
24 namespace media_router { | 24 namespace media_router { |
25 | 25 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 scoped_refptr<extensions::Extension> extension_; | 188 scoped_refptr<extensions::Extension> extension_; |
189 std::unique_ptr<MediaRouterMojoImpl> mock_media_router_; | 189 std::unique_ptr<MediaRouterMojoImpl> mock_media_router_; |
190 std::unique_ptr<mojo::Binding<mojom::MediaRouteProvider>> binding_; | 190 std::unique_ptr<mojo::Binding<mojom::MediaRouteProvider>> binding_; |
191 | 191 |
192 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest); | 192 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest); |
193 }; | 193 }; |
194 | 194 |
195 } // namespace media_router | 195 } // namespace media_router |
196 | 196 |
197 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ | 197 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ |
OLD | NEW |