Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Side by Side Diff: media/mojo/clients/mojo_audio_decoder_unittest.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/midi/midi_manager_winrt.cc ('k') | media/mojo/clients/mojo_decoder_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/memory/ptr_util.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h"
12 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
13 #include "media/base/audio_decoder_config.h" 14 #include "media/base/audio_decoder_config.h"
14 #include "media/base/audio_timestamp_helper.h" 15 #include "media/base/audio_timestamp_helper.h"
15 #include "media/base/decoder_buffer.h" 16 #include "media/base/decoder_buffer.h"
16 #include "media/base/gmock_callback_support.h" 17 #include "media/base/gmock_callback_support.h"
17 #include "media/base/media_util.h" 18 #include "media/base/media_util.h"
18 #include "media/base/mock_filters.h" 19 #include "media/base/mock_filters.h"
19 #include "media/base/test_helpers.h" 20 #include "media/base/test_helpers.h"
20 #include "media/mojo/clients/mojo_audio_decoder.h" 21 #include "media/mojo/clients/mojo_audio_decoder.h"
21 #include "media/mojo/interfaces/audio_decoder.mojom.h" 22 #include "media/mojo/interfaces/audio_decoder.mojom.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 Initialize(); 239 Initialize();
239 240
240 // Choose a large number of decodes per test on purpose to expose potential 241 // Choose a large number of decodes per test on purpose to expose potential
241 // out of order delivery of mojo messages. See http://crbug.com/646054 242 // out of order delivery of mojo messages. See http://crbug.com/646054
242 DecodeMultipleTimes(100); 243 DecodeMultipleTimes(100);
243 } 244 }
244 245
245 // TODO(xhwang): Add more tests. 246 // TODO(xhwang): Add more tests.
246 247
247 } // namespace media 248 } // namespace media
OLDNEW
« no previous file with comments | « media/midi/midi_manager_winrt.cc ('k') | media/mojo/clients/mojo_decoder_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698