OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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" | 5 #include "base/basictypes.h" |
6 #include "base/waitable_event.h" | 6 #include "base/synchronization/waitable_event.h" |
7 #include "media/audio/audio_input_controller.h" | 7 #include "media/audio/audio_input_controller.h" |
8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
11 using ::testing::_; | 11 using ::testing::_; |
12 using ::testing::AtLeast; | 12 using ::testing::AtLeast; |
13 using ::testing::Exactly; | 13 using ::testing::Exactly; |
14 using ::testing::InvokeWithoutArgs; | 14 using ::testing::InvokeWithoutArgs; |
15 using ::testing::NotNull; | 15 using ::testing::NotNull; |
16 | 16 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 kSampleRate, kBitsPerSample, kSamplesPerPacket); | 122 kSampleRate, kBitsPerSample, kSamplesPerPacket); |
123 scoped_refptr<AudioInputController> controller = | 123 scoped_refptr<AudioInputController> controller = |
124 AudioInputController::Create(&event_handler, params); | 124 AudioInputController::Create(&event_handler, params); |
125 ASSERT_TRUE(controller.get()); | 125 ASSERT_TRUE(controller.get()); |
126 | 126 |
127 controller->Close(); | 127 controller->Close(); |
128 controller->Close(); | 128 controller->Close(); |
129 } | 129 } |
130 | 130 |
131 } // namespace media | 131 } // namespace media |
OLD | NEW |