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

Side by Side Diff: content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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 "content/renderer/media/webrtc/media_stream_remote_video_source.h" 5 #include "content/renderer/media/webrtc/media_stream_remote_video_source.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "content/child/child_process.h" 13 #include "content/child/child_process.h"
14 #include "content/renderer/media/media_stream_video_track.h" 14 #include "content/renderer/media/media_stream_video_track.h"
15 #include "content/renderer/media/mock_media_stream_video_sink.h" 15 #include "content/renderer/media/mock_media_stream_video_sink.h"
16 #include "content/renderer/media/webrtc/mock_peer_connection_dependency_factory. h" 16 #include "content/renderer/media/webrtc/mock_peer_connection_dependency_factory. h"
17 #include "content/renderer/media/webrtc/track_observer.h" 17 #include "content/renderer/media/webrtc/track_observer.h"
18 #include "media/base/video_frame.h" 18 #include "media/base/video_frame.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "third_party/WebKit/public/web/WebHeap.h" 20 #include "third_party/WebKit/public/web/WebHeap.h"
21 #include "third_party/webrtc/media/engine/webrtcvideoframe.h" 21 #include "third_party/webrtc/media/engine/webrtcvideoframe.h"
22 22
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 StopWebRtcTrack(); 148 StopWebRtcTrack();
149 base::RunLoop().RunUntilIdle(); 149 base::RunLoop().RunUntilIdle();
150 EXPECT_EQ(blink::WebMediaStreamSource::ReadyStateEnded, 150 EXPECT_EQ(blink::WebMediaStreamSource::ReadyStateEnded,
151 webkit_source().getReadyState()); 151 webkit_source().getReadyState());
152 EXPECT_EQ(blink::WebMediaStreamSource::ReadyStateEnded, sink.state()); 152 EXPECT_EQ(blink::WebMediaStreamSource::ReadyStateEnded, sink.state());
153 153
154 track->RemoveSink(&sink); 154 track->RemoveSink(&sink);
155 } 155 }
156 156
157 } // namespace content 157 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/video_capture_impl_manager.cc ('k') | content/renderer/media/webrtc/media_stream_track_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698