| 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/web_contents_audio_input_stream.h" | 5 #include "content/browser/media/capture/web_contents_audio_input_stream.h" |
| 6 | 6 |
| 7 #include <list> | 7 #include <list> |
| 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/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 "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
| 14 #include "content/browser/browser_thread_impl.h" | 14 #include "content/browser/browser_thread_impl.h" |
| 15 #include "content/browser/renderer_host/media/audio_mirroring_manager.h" | 15 #include "content/browser/media/capture/audio_mirroring_manager.h" |
| 16 #include "content/browser/renderer_host/media/web_contents_tracker.h" | 16 #include "content/browser/media/capture/web_contents_tracker.h" |
| 17 #include "media/audio/simple_sources.h" | 17 #include "media/audio/simple_sources.h" |
| 18 #include "media/audio/virtual_audio_input_stream.h" | 18 #include "media/audio/virtual_audio_input_stream.h" |
| 19 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
| 20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
| 21 | 21 |
| 22 using ::testing::_; | 22 using ::testing::_; |
| 23 using ::testing::Assign; | 23 using ::testing::Assign; |
| 24 using ::testing::DoAll; | 24 using ::testing::DoAll; |
| 25 using ::testing::Invoke; | 25 using ::testing::Invoke; |
| 26 using ::testing::InvokeWithoutArgs; | 26 using ::testing::InvokeWithoutArgs; |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 WaitForData(); | 502 WaitForData(); |
| 503 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder); | 503 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder); |
| 504 WaitForData(); | 504 WaitForData(); |
| 505 RUN_ON_AUDIO_THREAD(ChangeMirroringTarget); | 505 RUN_ON_AUDIO_THREAD(ChangeMirroringTarget); |
| 506 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder); | 506 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder); |
| 507 RUN_ON_AUDIO_THREAD(Stop); | 507 RUN_ON_AUDIO_THREAD(Stop); |
| 508 RUN_ON_AUDIO_THREAD(Close); | 508 RUN_ON_AUDIO_THREAD(Close); |
| 509 } | 509 } |
| 510 | 510 |
| 511 } // namespace content | 511 } // namespace content |
| OLD | NEW |