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/video_capture_controller.h" | 5 #include "content/browser/renderer_host/media/video_capture_controller.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
16 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram_macros.h" |
17 #include "base/metrics/sparse_histogram.h" | 17 #include "base/metrics/sparse_histogram.h" |
18 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
20 #include "components/display_compositor/gl_helper.h" | 20 #include "components/display_compositor/gl_helper.h" |
21 #include "content/browser/renderer_host/media/media_stream_manager.h" | 21 #include "content/browser/renderer_host/media/media_stream_manager.h" |
22 #include "content/browser/renderer_host/media/video_capture_buffer_pool.h" | 22 #include "content/browser/renderer_host/media/video_capture_buffer_pool.h" |
23 #include "content/browser/renderer_host/media/video_capture_device_client.h" | 23 #include "content/browser/renderer_host/media/video_capture_device_client.h" |
24 #include "content/browser/renderer_host/media/video_capture_manager.h" | 24 #include "content/browser/renderer_host/media/video_capture_manager.h" |
25 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
26 #include "content/public/common/content_switches.h" | 26 #include "content/public/common/content_switches.h" |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 int session_id, | 507 int session_id, |
508 const ControllerClients& clients) { | 508 const ControllerClients& clients) { |
509 for (auto* client : clients) { | 509 for (auto* client : clients) { |
510 if (client->session_id == session_id) | 510 if (client->session_id == session_id) |
511 return client; | 511 return client; |
512 } | 512 } |
513 return NULL; | 513 return NULL; |
514 } | 514 } |
515 | 515 |
516 } // namespace content | 516 } // namespace content |
OLD | NEW |