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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 testing::NiceMock<MockEventPageTracker> mock_event_page_tracker_; | 215 testing::NiceMock<MockEventPageTracker> mock_event_page_tracker_; |
216 | 216 |
217 // Mojo proxy object for |mock_media_router_| | 217 // Mojo proxy object for |mock_media_router_| |
218 media_router::mojom::MediaRouterPtr media_router_proxy_; | 218 media_router::mojom::MediaRouterPtr media_router_proxy_; |
219 | 219 |
220 RegisterMediaRouteProviderHandler provide_handler_; | 220 RegisterMediaRouteProviderHandler provide_handler_; |
221 | 221 |
222 private: | 222 private: |
223 content::TestBrowserThreadBundle test_thread_bundle_; | 223 content::TestBrowserThreadBundle test_thread_bundle_; |
224 scoped_refptr<extensions::Extension> extension_; | 224 scoped_refptr<extensions::Extension> extension_; |
| 225 TestingProfile profile_; |
225 std::unique_ptr<MediaRouterMojoImpl> mock_media_router_; | 226 std::unique_ptr<MediaRouterMojoImpl> mock_media_router_; |
226 std::unique_ptr<mojo::Binding<mojom::MediaRouteProvider>> binding_; | 227 std::unique_ptr<mojo::Binding<mojom::MediaRouteProvider>> binding_; |
227 | 228 |
228 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest); | 229 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest); |
229 }; | 230 }; |
230 | 231 |
231 } // namespace media_router | 232 } // namespace media_router |
232 | 233 |
233 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ | 234 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ |
OLD | NEW |