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

Unified Diff: third_party/WebKit/Source/core/html/track/TrackBase.h

Issue 2050043002: Generate and assign media track ids in demuxers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-streamparser-trackid
Patch Set: rebase to ToT Created 4 years, 6 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/core/html/track/TrackBase.h
diff --git a/third_party/WebKit/Source/core/html/track/TrackBase.h b/third_party/WebKit/Source/core/html/track/TrackBase.h
index d622095798c74391032891f391871ecade7e6268..ea3d4bd732ec997126c570c0cfc92f9bd0ce8863 100644
--- a/third_party/WebKit/Source/core/html/track/TrackBase.h
+++ b/third_party/WebKit/Source/core/html/track/TrackBase.h
@@ -40,14 +40,13 @@ class CORE_EXPORT TrackBase : public Supplementable<TrackBase> {
public:
virtual ~TrackBase();
- WebMediaPlayer::TrackId trackId() const { return m_trackId; }
+ WebMediaPlayer::TrackId id() const { return m_id; }
WebMediaPlayer::TrackType type() const { return m_type; }
const AtomicString& kind() const { return m_kind; }
AtomicString label() const { return m_label; }
AtomicString language() const { return m_language; }
- String id() const { return m_id; }
void setMediaElement(HTMLMediaElement* mediaElement) { m_mediaElement = mediaElement; }
HTMLMediaElement* mediaElement() const { return m_mediaElement; }
@@ -58,7 +57,6 @@ public:
protected:
TrackBase(WebMediaPlayer::TrackType, const AtomicString& kind, const AtomicString& label, const AtomicString& language, const String& id);
- WebMediaPlayer::TrackId m_trackId;
WebMediaPlayer::TrackType m_type;
AtomicString m_kind;
AtomicString m_label;
« no previous file with comments | « third_party/WebKit/Source/core/html/track/TextTrackList.cpp ('k') | third_party/WebKit/Source/core/html/track/TrackBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698