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

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

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.h
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
index fcb2fb2f8a4aee7a56a217249cb2f8620aad0054..d3480c9cf3dd0b5a0c2d833aa200593d6bdcaaa6 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
@@ -71,12 +71,14 @@ class PLATFORM_EXPORT MediaStreamSource final
static MediaStreamSource* create(const String& id,
StreamType,
const String& name,
+ bool remote,
ReadyState = ReadyStateLive,
bool requiresConsumer = false);
const String& id() const { return m_id; }
StreamType type() const { return m_type; }
const String& name() const { return m_name; }
+ bool remote() const { return m_remote; }
void setReadyState(ReadyState);
ReadyState getReadyState() const { return m_readyState; }
@@ -114,12 +116,14 @@ class PLATFORM_EXPORT MediaStreamSource final
MediaStreamSource(const String& id,
StreamType,
const String& name,
+ bool remote,
ReadyState,
bool requiresConsumer);
String m_id;
StreamType m_type;
String m_name;
+ bool m_remote;
ReadyState m_readyState;
bool m_requiresConsumer;
HeapHashSet<WeakMember<Observer>> m_observers;

Powered by Google App Engine
This is Rietveld 408576698