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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp

Issue 2501623003: Implement MediaStreamTrack contentHint skeleton. (Closed)
Patch Set: ContentHint -> ContentHintType Created 4 years 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/exported/WebMediaStreamTrack.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
index 29f27b7ddf4659ad913043afbf560b9e80627847..56ab2fc8e6961f2e88bba2ef3e0e3b26f634302a 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
@@ -91,6 +91,11 @@ bool WebMediaStreamTrack::isMuted() const {
return m_private->muted();
}
+WebMediaStreamTrack::ContentHintType WebMediaStreamTrack::contentHint() const {
+ DCHECK(!m_private.isNull());
+ return m_private->contentHint();
+}
+
WebString WebMediaStreamTrack::id() const {
ASSERT(!m_private.isNull());
return m_private->id();

Powered by Google App Engine
This is Rietveld 408576698