| 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" |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // Mock objects. | 196 // Mock objects. |
| 197 MockMediaRouteProvider mock_media_route_provider_; | 197 MockMediaRouteProvider mock_media_route_provider_; |
| 198 testing::NiceMock<MockEventPageTracker> mock_event_page_tracker_; | 198 testing::NiceMock<MockEventPageTracker> mock_event_page_tracker_; |
| 199 | 199 |
| 200 // Mojo proxy object for |mock_media_router_| | 200 // Mojo proxy object for |mock_media_router_| |
| 201 media_router::mojom::MediaRouterPtr media_router_proxy_; | 201 media_router::mojom::MediaRouterPtr media_router_proxy_; |
| 202 | 202 |
| 203 private: | 203 private: |
| 204 content::TestBrowserThreadBundle test_thread_bundle_; | 204 content::TestBrowserThreadBundle test_thread_bundle_; |
| 205 scoped_refptr<extensions::Extension> extension_; | 205 scoped_refptr<extensions::Extension> extension_; |
| 206 TestingProfile profile_; |
| 206 std::unique_ptr<MediaRouterMojoImpl> mock_media_router_; | 207 std::unique_ptr<MediaRouterMojoImpl> mock_media_router_; |
| 207 std::unique_ptr<mojo::Binding<mojom::MediaRouteProvider>> binding_; | 208 std::unique_ptr<mojo::Binding<mojom::MediaRouteProvider>> binding_; |
| 208 | 209 |
| 209 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest); | 210 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest); |
| 210 }; | 211 }; |
| 211 | 212 |
| 212 } // namespace media_router | 213 } // namespace media_router |
| 213 | 214 |
| 214 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ | 215 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ |
| OLD | NEW |