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 "media/base/test_helpers.h" | 5 #include "media/base/test_helpers.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/test/test_timeouts.h" | 10 #include "base/test/test_timeouts.h" |
11 #include "base/time.h" | 11 #include "base/time/time.h" |
12 #include "base/timer.h" | 12 #include "base/timer/timer.h" |
13 #include "media/base/audio_buffer.h" | 13 #include "media/base/audio_buffer.h" |
14 #include "media/base/bind_to_loop.h" | 14 #include "media/base/bind_to_loop.h" |
15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
16 | 16 |
17 using ::testing::_; | 17 using ::testing::_; |
18 using ::testing::StrictMock; | 18 using ::testing::StrictMock; |
19 | 19 |
20 namespace media { | 20 namespace media { |
21 | 21 |
22 // Utility mock for testing methods expecting Closures and PipelineStatusCBs. | 22 // Utility mock for testing methods expecting Closures and PipelineStatusCBs. |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 SampleFormat format, \ | 236 SampleFormat format, \ |
237 int channels, \ | 237 int channels, \ |
238 type start, \ | 238 type start, \ |
239 type increment, \ | 239 type increment, \ |
240 int frames, \ | 240 int frames, \ |
241 base::TimeDelta start_time); | 241 base::TimeDelta start_time); |
242 DEFINE_PLANAR_INSTANCE(int16); | 242 DEFINE_PLANAR_INSTANCE(int16); |
243 DEFINE_PLANAR_INSTANCE(float); | 243 DEFINE_PLANAR_INSTANCE(float); |
244 | 244 |
245 } // namespace media | 245 } // namespace media |
OLD | NEW |