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 <stdint.h> |
| 6 |
5 #include "base/bind.h" | 7 #include "base/bind.h" |
6 #include "base/environment.h" | 8 #include "base/environment.h" |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
11 #include "base/synchronization/waitable_event.h" | 14 #include "base/synchronization/waitable_event.h" |
12 #include "media/audio/audio_manager_base.h" | 15 #include "media/audio/audio_manager_base.h" |
13 #include "media/audio/audio_output_controller.h" | 16 #include "media/audio/audio_output_controller.h" |
14 #include "media/audio/audio_parameters.h" | 17 #include "media/audio/audio_parameters.h" |
15 #include "media/base/audio_bus.h" | 18 #include "media/base/audio_bus.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 | 405 |
403 TEST_F(AudioOutputControllerTest, DivertRevertClose) { | 406 TEST_F(AudioOutputControllerTest, DivertRevertClose) { |
404 Create(kSamplesPerPacket); | 407 Create(kSamplesPerPacket); |
405 WaitForCreate(); | 408 WaitForCreate(); |
406 DivertNeverPlaying(); | 409 DivertNeverPlaying(); |
407 RevertWasNotPlaying(); | 410 RevertWasNotPlaying(); |
408 Close(); | 411 Close(); |
409 } | 412 } |
410 | 413 |
411 } // namespace media | 414 } // namespace media |
OLD | NEW |