| 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 #include "chrome/browser/media/router/presentation_service_delegate_impl.h" | 5 #include "chrome/browser/media/router/presentation_service_delegate_impl.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 #include "base/test/mock_callback.h" | 8 #include "base/test/mock_callback.h" |
| 9 #include "chrome/browser/media/router/media_source.h" | |
| 10 #include "chrome/browser/media/router/media_source_helper.h" | |
| 11 #include "chrome/browser/media/router/mock_media_router.h" | 9 #include "chrome/browser/media/router/mock_media_router.h" |
| 12 #include "chrome/browser/media/router/mock_screen_availability_listener.h" | 10 #include "chrome/browser/media/router/mock_screen_availability_listener.h" |
| 13 #include "chrome/browser/media/router/offscreen_presentation_manager.h" | 11 #include "chrome/browser/media/router/offscreen_presentation_manager.h" |
| 14 #include "chrome/browser/media/router/offscreen_presentation_manager_factory.h" | 12 #include "chrome/browser/media/router/offscreen_presentation_manager_factory.h" |
| 15 #include "chrome/browser/media/router/route_request_result.h" | |
| 16 #include "chrome/browser/media/router/test_helper.h" | 13 #include "chrome/browser/media/router/test_helper.h" |
| 17 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 15 #include "chrome/common/media_router/media_source.h" |
| 16 #include "chrome/common/media_router/media_source_helper.h" |
| 17 #include "chrome/common/media_router/route_request_result.h" |
| 18 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
| 19 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 19 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 20 #include "chrome/test/base/testing_profile.h" | 20 #include "chrome/test/base/testing_profile.h" |
| 21 #include "components/prefs/scoped_user_pref_update.h" | 21 #include "components/prefs/scoped_user_pref_update.h" |
| 22 #include "content/public/browser/presentation_screen_availability_listener.h" | 22 #include "content/public/browser/presentation_screen_availability_listener.h" |
| 23 #include "content/public/browser/render_process_host.h" | 23 #include "content/public/browser/render_process_host.h" |
| 24 #include "content/public/browser/web_contents.h" | 24 #include "content/public/browser/web_contents.h" |
| 25 #include "content/public/common/presentation_info.h" | 25 #include "content/public/common/presentation_info.h" |
| 26 #include "content/public/test/web_contents_tester.h" | 26 #include "content/public/test/web_contents_tester.h" |
| 27 #include "mojo/public/cpp/bindings/binding.h" | 27 #include "mojo/public/cpp/bindings/binding.h" |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 base::Bind(&MockCreatePresentationConnnectionCallbacks:: | 727 base::Bind(&MockCreatePresentationConnnectionCallbacks:: |
| 728 OnCreateConnectionSuccess, | 728 OnCreateConnectionSuccess, |
| 729 base::Unretained(&mock_create_connection_callbacks)), | 729 base::Unretained(&mock_create_connection_callbacks)), |
| 730 base::Bind( | 730 base::Bind( |
| 731 &MockCreatePresentationConnnectionCallbacks::OnCreateConnectionError, | 731 &MockCreatePresentationConnnectionCallbacks::OnCreateConnectionError, |
| 732 base::Unretained(&mock_create_connection_callbacks))); | 732 base::Unretained(&mock_create_connection_callbacks))); |
| 733 } | 733 } |
| 734 #endif // !defined(OS_ANDROID) | 734 #endif // !defined(OS_ANDROID) |
| 735 | 735 |
| 736 } // namespace media_router | 736 } // namespace media_router |
| OLD | NEW |