| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "modules/mediasource/TrackDefault.h" | 5 #include "modules/mediasource/TrackDefault.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 8 #include "core/dom/ExceptionCode.h" | |
| 9 #include "core/html/track/AudioTrack.h" | 8 #include "core/html/track/AudioTrack.h" |
| 10 #include "core/html/track/TextTrack.h" | 9 #include "core/html/track/TextTrack.h" |
| 11 #include "core/html/track/VideoTrack.h" | 10 #include "core/html/track/VideoTrack.h" |
| 12 | 11 |
| 13 namespace blink { | 12 namespace blink { |
| 14 | 13 |
| 15 static const AtomicString& audioKeyword() | 14 static const AtomicString& audioKeyword() |
| 16 { | 15 { |
| 17 DEFINE_STATIC_LOCAL(const AtomicString, audio, ("audio")); | 16 DEFINE_STATIC_LOCAL(const AtomicString, audio, ("audio")); |
| 18 return audio; | 17 return audio; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 TrackDefault::TrackDefault(const AtomicString& type, const String& language, con
st String& label, const Vector<String>& kinds, const String& byteStreamTrackID) | 95 TrackDefault::TrackDefault(const AtomicString& type, const String& language, con
st String& label, const Vector<String>& kinds, const String& byteStreamTrackID) |
| 97 : m_type(type) | 96 : m_type(type) |
| 98 , m_byteStreamTrackID(byteStreamTrackID) | 97 , m_byteStreamTrackID(byteStreamTrackID) |
| 99 , m_language(language) | 98 , m_language(language) |
| 100 , m_label(label) | 99 , m_label(label) |
| 101 , m_kinds(kinds) | 100 , m_kinds(kinds) |
| 102 { | 101 { |
| 103 } | 102 } |
| 104 | 103 |
| 105 } // namespace blink | 104 } // namespace blink |
| OLD | NEW |