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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp

Issue 2767963002: Revert of Remove |remote| and |readonly| members of MediaStreamTrack. (Closed)
Patch Set: rebase Created 3 years, 9 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: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp
index 79485a8d4989a5457b2b396d089fd757a61b617a..acc83312d97123590eaf00689f75248ad97355b6 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp
@@ -35,19 +35,23 @@ namespace blink {
MediaStreamSource* MediaStreamSource::create(const String& id,
StreamType type,
const String& name,
+ bool remote,
ReadyState readyState,
bool requiresConsumer) {
- return new MediaStreamSource(id, type, name, readyState, requiresConsumer);
+ return new MediaStreamSource(id, type, name, remote, readyState,
+ requiresConsumer);
}
MediaStreamSource::MediaStreamSource(const String& id,
StreamType type,
const String& name,
+ bool remote,
ReadyState readyState,
bool requiresConsumer)
: m_id(id),
m_type(type),
m_name(name),
+ m_remote(remote),
m_readyState(readyState),
m_requiresConsumer(requiresConsumer) {}

Powered by Google App Engine
This is Rietveld 408576698