| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/renderer_host/media/media_stream_manager.h" | 5 #include "content/browser/renderer_host/media/media_stream_manager.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "base/rand_util.h" | 23 #include "base/rand_util.h" |
| 24 #include "base/run_loop.h" | 24 #include "base/run_loop.h" |
| 25 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
| 26 #include "base/strings/string_util.h" | 26 #include "base/strings/string_util.h" |
| 27 #include "base/strings/stringprintf.h" | 27 #include "base/strings/stringprintf.h" |
| 28 #include "base/task_runner_util.h" | 28 #include "base/task_runner_util.h" |
| 29 #include "base/threading/thread.h" | 29 #include "base/threading/thread.h" |
| 30 #include "base/threading/thread_local.h" | 30 #include "base/threading/thread_local.h" |
| 31 #include "build/build_config.h" | 31 #include "build/build_config.h" |
| 32 #include "content/browser/browser_main_loop.h" | 32 #include "content/browser/browser_main_loop.h" |
| 33 #include "content/browser/child_process_security_policy_impl.h" | |
| 34 #include "content/browser/renderer_host/media/audio_input_device_manager.h" | 33 #include "content/browser/renderer_host/media/audio_input_device_manager.h" |
| 35 #include "content/browser/renderer_host/media/audio_output_device_enumerator.h" | 34 #include "content/browser/renderer_host/media/audio_output_device_enumerator.h" |
| 36 #include "content/browser/renderer_host/media/media_capture_devices_impl.h" | 35 #include "content/browser/renderer_host/media/media_capture_devices_impl.h" |
| 37 #include "content/browser/renderer_host/media/media_stream_requester.h" | 36 #include "content/browser/renderer_host/media/media_stream_requester.h" |
| 38 #include "content/browser/renderer_host/media/media_stream_ui_proxy.h" | 37 #include "content/browser/renderer_host/media/media_stream_ui_proxy.h" |
| 39 #include "content/browser/renderer_host/media/video_capture_manager.h" | 38 #include "content/browser/renderer_host/media/video_capture_manager.h" |
| 40 #include "content/browser/renderer_host/render_process_host_impl.h" | 39 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 40 #include "content/browser/shared/child_process_security_policy_helper.h" |
| 41 #include "content/public/browser/browser_thread.h" | 41 #include "content/public/browser/browser_thread.h" |
| 42 #include "content/public/browser/content_browser_client.h" | 42 #include "content/public/browser/content_browser_client.h" |
| 43 #include "content/public/browser/desktop_media_id.h" | 43 #include "content/public/browser/desktop_media_id.h" |
| 44 #include "content/public/browser/media_observer.h" | 44 #include "content/public/browser/media_observer.h" |
| 45 #include "content/public/browser/media_request_state.h" | 45 #include "content/public/browser/media_request_state.h" |
| 46 #include "content/public/browser/render_process_host.h" | 46 #include "content/public/browser/render_process_host.h" |
| 47 #include "content/public/browser/web_contents_media_capture_id.h" | 47 #include "content/public/browser/web_contents_media_capture_id.h" |
| 48 #include "content/public/common/content_client.h" | 48 #include "content/public/common/content_client.h" |
| 49 #include "content/public/common/content_switches.h" | 49 #include "content/public/common/content_switches.h" |
| 50 #include "content/public/common/media_stream_request.h" | 50 #include "content/public/common/media_stream_request.h" |
| (...skipping 2130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2181 if (device_info.session_id == session_id && | 2181 if (device_info.session_id == session_id && |
| 2182 device_info.device.type == type) { | 2182 device_info.device.type == type) { |
| 2183 request->SetCapturingLinkSecured(is_secure); | 2183 request->SetCapturingLinkSecured(is_secure); |
| 2184 return; | 2184 return; |
| 2185 } | 2185 } |
| 2186 } | 2186 } |
| 2187 } | 2187 } |
| 2188 } | 2188 } |
| 2189 | 2189 |
| 2190 } // namespace content | 2190 } // namespace content |
| OLD | NEW |