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

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

Issue 569613002: Add the possibility to specify MediaStreamTrack::remote when creating a track. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 2 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: Source/platform/mediastream/MediaStreamSource.cpp
diff --git a/Source/platform/mediastream/MediaStreamSource.cpp b/Source/platform/mediastream/MediaStreamSource.cpp
index 6f69127bc64d616f444bbabfb7a2495a657f13a7..70ae083043c74a313f5a5baa27602f4c3e1127b3 100644
--- a/Source/platform/mediastream/MediaStreamSource.cpp
+++ b/Source/platform/mediastream/MediaStreamSource.cpp
@@ -34,15 +34,17 @@
namespace blink {
-PassRefPtr<MediaStreamSource> MediaStreamSource::create(const String& id, Type type, const String& name, ReadyState readyState, bool requiresConsumer)
+PassRefPtr<MediaStreamSource> MediaStreamSource::create(const String& id, Type type, const String& name, bool remote, bool readOnly, ReadyState readyState, bool requiresConsumer)
{
- return adoptRef(new MediaStreamSource(id, type, name, readyState, requiresConsumer));
+ return adoptRef(new MediaStreamSource(id, type, name, remote, readOnly, readyState, requiresConsumer));
}
-MediaStreamSource::MediaStreamSource(const String& id, Type type, const String& name, ReadyState readyState, bool requiresConsumer)
+MediaStreamSource::MediaStreamSource(const String& id, Type type, const String& name, bool remote, bool readOnly, ReadyState readyState, bool requiresConsumer)
: m_id(id)
, m_type(type)
, m_name(name)
+ , m_remote(remote)
+ , m_readOnly(readOnly)
, m_readyState(readyState)
, m_requiresConsumer(requiresConsumer)
{

Powered by Google App Engine
This is Rietveld 408576698