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

Side by Side Diff: content/renderer/media/media_stream_video_renderer_sink_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "content/renderer/media/media_stream_video_renderer_sink.h" 5 #include "content/renderer/media/media_stream_video_renderer_sink.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
14 #include "content/child/child_process.h" 15 #include "content/child/child_process.h"
15 #include "content/renderer/media/media_stream_video_track.h" 16 #include "content/renderer/media/media_stream_video_track.h"
16 #include "content/renderer/media/mock_media_stream_registry.h" 17 #include "content/renderer/media/mock_media_stream_registry.h"
17 #include "content/renderer/media/mock_media_stream_video_source.h" 18 #include "content/renderer/media/mock_media_stream_video_source.h"
18 #include "media/base/video_frame.h" 19 #include "media/base/video_frame.h"
19 #include "media/renderers/gpu_video_accelerator_factories.h" 20 #include "media/renderers/gpu_video_accelerator_factories.h"
20 #include "media/renderers/mock_gpu_memory_buffer_video_frame_pool.h" 21 #include "media/renderers/mock_gpu_memory_buffer_video_frame_pool.h"
21 #include "testing/gmock/include/gmock/gmock.h" 22 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 const scoped_refptr<media::VideoFrame> video_frame = 223 const scoped_refptr<media::VideoFrame> video_frame =
223 media::VideoFrame::CreateFrame(media::PIXEL_FORMAT_YV12A, kSize, 224 media::VideoFrame::CreateFrame(media::PIXEL_FORMAT_YV12A, kSize,
224 gfx::Rect(kSize), kSize, kTimestamp); 225 gfx::Rect(kSize), kSize, kTimestamp);
225 OnVideoFrame(video_frame); 226 OnVideoFrame(video_frame);
226 base::RunLoop().RunUntilIdle(); 227 base::RunLoop().RunUntilIdle();
227 228
228 media_stream_video_renderer_sink_->Stop(); 229 media_stream_video_renderer_sink_->Stop();
229 } 230 }
230 231
231 } // namespace content 232 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698