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

Unified Diff: content/renderer/media/mock_media_stream_registry.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/mock_media_stream_registry.cc
diff --git a/content/renderer/media/mock_media_stream_registry.cc b/content/renderer/media/mock_media_stream_registry.cc
index 4ad5342892177ab484eaced9998ac586f3506676..96e667142891dcc3e681001b3d25a05e58f791d9 100644
--- a/content/renderer/media/mock_media_stream_registry.cc
+++ b/content/renderer/media/mock_media_stream_registry.cc
@@ -61,7 +61,8 @@
blink::WebMediaStreamSource blink_source;
blink_source.initialize("mock video source id",
blink::WebMediaStreamSource::TypeVideo,
- "mock video source name");
+ "mock video source name",
+ false /* remote */);
MockMediaStreamVideoSource* native_source =
new MockMediaStreamVideoSource(false /* manual get supported formats */);
blink_source.setExtraData(native_source);
@@ -83,9 +84,9 @@
void MockMediaStreamRegistry::AddAudioTrack(const std::string& track_id) {
blink::WebMediaStreamSource blink_source;
- blink_source.initialize("mock audio source id",
- blink::WebMediaStreamSource::TypeAudio,
- "mock audio source name");
+ blink_source.initialize(
+ "mock audio source id", blink::WebMediaStreamSource::TypeAudio,
+ "mock audio source name", false /* remote */);
MediaStreamAudioSource* const source = new MockCDQualityAudioSource();
blink_source.setExtraData(source); // Takes ownership.
« no previous file with comments | « content/renderer/media/media_stream_video_track_unittest.cc ('k') | content/renderer/media/pepper_to_video_track_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698