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

Unified Diff: media/base/media_track.cc

Issue 1716503002: Basic media tracks implementation for media stream parsers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added DISALLOW_COPY_AND_ASSIGN in MediaTracks Created 4 years, 10 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: media/base/media_track.cc
diff --git a/media/base/media_track.cc b/media/base/media_track.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ac5d60c0c281ef52cd6da5969b2461b65b69a2e7
--- /dev/null
+++ b/media/base/media_track.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "media/base/media_track.h"
+
+namespace media {
+
+MediaTrack::MediaTrack(Type type,
+ const std::string& id,
+ const std::string& kind,
+ const std::string& label,
+ const std::string& lang)
+ : type_(type), id_(id), kind_(kind), label_(label), language_(lang) {}
+
+MediaTrack::~MediaTrack() {}
+
+} // namespace media

Powered by Google App Engine
This is Rietveld 408576698