OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 <memory> | 5 #include <memory> |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ptr_util.h" |
9 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
10 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
11 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
12 #include "media/base/audio_decoder_config.h" | 13 #include "media/base/audio_decoder_config.h" |
13 #include "media/base/audio_timestamp_helper.h" | 14 #include "media/base/audio_timestamp_helper.h" |
14 #include "media/base/decoder_buffer.h" | 15 #include "media/base/decoder_buffer.h" |
15 #include "media/base/gmock_callback_support.h" | 16 #include "media/base/gmock_callback_support.h" |
16 #include "media/base/media_util.h" | 17 #include "media/base/media_util.h" |
17 #include "media/base/mock_filters.h" | 18 #include "media/base/mock_filters.h" |
18 #include "media/base/test_helpers.h" | 19 #include "media/base/test_helpers.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 Initialize(); | 217 Initialize(); |
217 | 218 |
218 // Choose a large number of decodes per test on purpose to expose potential | 219 // Choose a large number of decodes per test on purpose to expose potential |
219 // out of order delivery of mojo messages. See http://crbug.com/646054 | 220 // out of order delivery of mojo messages. See http://crbug.com/646054 |
220 DecodeMultipleTimes(100); | 221 DecodeMultipleTimes(100); |
221 } | 222 } |
222 | 223 |
223 // TODO(xhwang): Add more tests. | 224 // TODO(xhwang): Add more tests. |
224 | 225 |
225 } // namespace media | 226 } // namespace media |
OLD | NEW |