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/renderer/pepper/pepper_platform_audio_output.h" | 5 #include "content/renderer/pepper/pepper_platform_audio_output.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "content/child/child_process.h" | 13 #include "content/child/child_process.h" |
14 #include "content/common/media/audio_messages.h" | 14 #include "content/common/media/audio_messages.h" |
15 #include "content/renderer/media/audio_message_filter.h" | 15 #include "content/renderer/media/audio_message_filter.h" |
16 #include "content/renderer/pepper/audio_helper.h" | 16 #include "content/renderer/pepper/audio_helper.h" |
17 #include "content/renderer/render_thread_impl.h" | 17 #include "content/renderer/render_thread_impl.h" |
18 #include "media/base/audio_hardware_config.h" | 18 #include "media/base/audio_hardware_config.h" |
19 #include "ppapi/shared_impl/ppb_audio_config_shared.h" | 19 #include "ppapi/shared_impl/ppb_audio_config_shared.h" |
20 | 20 |
21 namespace content { | 21 namespace content { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 return; | 170 return; |
171 | 171 |
172 ipc_->CloseStream(); | 172 ipc_->CloseStream(); |
173 ipc_.reset(); | 173 ipc_.reset(); |
174 | 174 |
175 Release(); // Release for the delegate, balances out the reference taken in | 175 Release(); // Release for the delegate, balances out the reference taken in |
176 // PepperPlatformAudioOutput::Create. | 176 // PepperPlatformAudioOutput::Create. |
177 } | 177 } |
178 | 178 |
179 } // namespace content | 179 } // namespace content |
OLD | NEW |