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/audio_input_renderer_host.h" | 5 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/shared_memory.h" | 12 #include "base/memory/shared_memory.h" |
13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram_macros.h" |
14 #include "base/numerics/safe_math.h" | 14 #include "base/numerics/safe_math.h" |
15 #include "base/process/process.h" | 15 #include "base/process/process.h" |
16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
19 #include "content/browser/media/capture/desktop_capture_device_uma_types.h" | 19 #include "content/browser/media/capture/desktop_capture_device_uma_types.h" |
20 #include "content/browser/media/capture/web_contents_audio_input_stream.h" | 20 #include "content/browser/media/capture/web_contents_audio_input_stream.h" |
21 #include "content/browser/media/media_internals.h" | 21 #include "content/browser/media/media_internals.h" |
22 #include "content/browser/renderer_host/media/audio_input_debug_writer.h" | 22 #include "content/browser/renderer_host/media/audio_input_debug_writer.h" |
23 #include "content/browser/renderer_host/media/audio_input_device_manager.h" | 23 #include "content/browser/renderer_host/media/audio_input_device_manager.h" |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 if (entry->input_debug_writer.get()) { | 722 if (entry->input_debug_writer.get()) { |
723 BrowserThread::PostTask( | 723 BrowserThread::PostTask( |
724 BrowserThread::FILE, FROM_HERE, | 724 BrowserThread::FILE, FROM_HERE, |
725 base::Bind(&DeleteInputDebugWriterOnFileThread, | 725 base::Bind(&DeleteInputDebugWriterOnFileThread, |
726 base::Passed(std::move(entry->input_debug_writer)))); | 726 base::Passed(std::move(entry->input_debug_writer)))); |
727 } | 727 } |
728 } | 728 } |
729 #endif // defined(ENABLE_WEBRTC) | 729 #endif // defined(ENABLE_WEBRTC) |
730 | 730 |
731 } // namespace content | 731 } // namespace content |
OLD | NEW |