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

Side by Side Diff: chromecast/media/cma/base/demuxer_stream_adapter_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chromecast/media/cma/base/demuxer_stream_adapter.h" 5 #include "chromecast/media/cma/base/demuxer_stream_adapter.h"
6 6
7 #include <list> 7 #include <list>
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
16 #include "base/threading/thread.h" 17 #include "base/threading/thread.h"
17 #include "base/threading/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
18 #include "base/time/time.h" 19 #include "base/time/time.h"
19 #include "chromecast/media/cma/base/balanced_media_task_runner_factory.h" 20 #include "chromecast/media/cma/base/balanced_media_task_runner_factory.h"
20 #include "chromecast/media/cma/base/decoder_buffer_base.h" 21 #include "chromecast/media/cma/base/decoder_buffer_base.h"
21 #include "chromecast/media/cma/base/demuxer_stream_for_test.h" 22 #include "chromecast/media/cma/base/demuxer_stream_for_test.h"
22 #include "chromecast/public/media/cast_decoder_buffer.h" 23 #include "chromecast/public/media/cast_decoder_buffer.h"
23 #include "media/base/audio_decoder_config.h" 24 #include "media/base/audio_decoder_config.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 std::unique_ptr<base::MessageLoop> message_loop(new base::MessageLoop()); 206 std::unique_ptr<base::MessageLoop> message_loop(new base::MessageLoop());
206 Initialize(demuxer_stream_.get()); 207 Initialize(demuxer_stream_.get());
207 message_loop->task_runner()->PostTask( 208 message_loop->task_runner()->PostTask(
208 FROM_HERE, 209 FROM_HERE,
209 base::Bind(&DemuxerStreamAdapterTest::Start, base::Unretained(this))); 210 base::Bind(&DemuxerStreamAdapterTest::Start, base::Unretained(this)));
210 base::RunLoop().Run(); 211 base::RunLoop().Run();
211 } 212 }
212 213
213 } // namespace media 214 } // namespace media
214 } // namespace chromecast 215 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698