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

Unified Diff: content/renderer/media/rtc_peer_connection_handler_unittest.cc

Issue 2710213005: Revert of Remove |remote| and |readonly| members of MediaStreamTrack (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/rtc_peer_connection_handler_unittest.cc
diff --git a/content/renderer/media/rtc_peer_connection_handler_unittest.cc b/content/renderer/media/rtc_peer_connection_handler_unittest.cc
index f4c9c552f2f727beb8b826d29540cfe1a49868b6..7d44b983f31994bf2d01cb33570650e5faa889ae 100644
--- a/content/renderer/media/rtc_peer_connection_handler_unittest.cc
+++ b/content/renderer/media/rtc_peer_connection_handler_unittest.cc
@@ -292,7 +292,8 @@
blink::WebMediaStreamSource blink_audio_source;
blink_audio_source.initialize(blink::WebString::fromUTF8(audio_track_label),
blink::WebMediaStreamSource::TypeAudio,
- blink::WebString::fromUTF8("audio_track"));
+ blink::WebString::fromUTF8("audio_track"),
+ false /* remote */);
ProcessedLocalAudioSource* const audio_source =
new ProcessedLocalAudioSource(
-1 /* consumer_render_frame_id is N/A for non-browser tests */,
@@ -310,7 +311,8 @@
blink::WebMediaStreamSource video_source;
video_source.initialize(blink::WebString::fromUTF8(video_track_label),
blink::WebMediaStreamSource::TypeVideo,
- blink::WebString::fromUTF8("video_track"));
+ blink::WebString::fromUTF8("video_track"),
+ false /* remote */);
MockMediaStreamVideoSource* native_video_source =
new MockMediaStreamVideoSource(false);
video_source.setExtraData(native_video_source);
« no previous file with comments | « content/renderer/media/remote_media_stream_impl.cc ('k') | content/renderer/media/speech_recognition_audio_sink_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698