OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_mirroring_manager.h" | 5 #include "content/browser/renderer_host/media/audio_mirroring_manager.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
13 #include "content/browser/browser_thread_impl.h" | 13 #include "content/browser/browser_thread_impl.h" |
14 #include "media/audio/audio_parameters.h" | 14 #include "media/audio/audio_parameters.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 using media::AudioOutputStream; | 18 using media::AudioOutputStream; |
19 using media::AudioParameters; | 19 using media::AudioParameters; |
20 using testing::_; | 20 using testing::_; |
21 using testing::NotNull; | 21 using testing::NotNull; |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 yet_another_destination); | 225 yet_another_destination); |
226 | 226 |
227 StopMirroringTo(kRenderProcessId, kRenderViewId, destination); | 227 StopMirroringTo(kRenderProcessId, kRenderViewId, destination); |
228 | 228 |
229 KillStream(kAnotherRenderProcessId, kAnotherRenderViewId, another_stream); | 229 KillStream(kAnotherRenderProcessId, kAnotherRenderViewId, another_stream); |
230 KillStream(kYetAnotherRenderProcessId, kYetAnotherRenderViewId, | 230 KillStream(kYetAnotherRenderProcessId, kYetAnotherRenderViewId, |
231 yet_another_stream); | 231 yet_another_stream); |
232 } | 232 } |
233 | 233 |
234 } // namespace content | 234 } // namespace content |
OLD | NEW |