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