| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "modules/mediasource/SourceBuffer.h" | 31 #include "modules/mediasource/SourceBuffer.h" |
| 32 | 32 |
| 33 #include <limits> |
| 34 #include <memory> |
| 35 #include <sstream> |
| 33 #include "bindings/core/v8/ExceptionMessages.h" | 36 #include "bindings/core/v8/ExceptionMessages.h" |
| 34 #include "bindings/core/v8/ExceptionState.h" | 37 #include "bindings/core/v8/ExceptionState.h" |
| 35 #include "core/dom/DOMArrayBuffer.h" | 38 #include "core/dom/DOMArrayBuffer.h" |
| 36 #include "core/dom/DOMArrayBufferView.h" | 39 #include "core/dom/DOMArrayBufferView.h" |
| 37 #include "core/dom/ExceptionCode.h" | 40 #include "core/dom/ExceptionCode.h" |
| 38 #include "core/dom/ExecutionContext.h" | 41 #include "core/dom/ExecutionContext.h" |
| 39 #include "core/events/Event.h" | 42 #include "core/events/Event.h" |
| 40 #include "core/events/GenericEventQueue.h" | 43 #include "core/events/GenericEventQueue.h" |
| 41 #include "core/frame/Deprecation.h" | 44 #include "core/frame/Deprecation.h" |
| 42 #include "core/frame/UseCounter.h" | 45 #include "core/frame/UseCounter.h" |
| 43 #include "core/html/HTMLMediaElement.h" | 46 #include "core/html/HTMLMediaElement.h" |
| 44 #include "core/html/MediaError.h" | 47 #include "core/html/MediaError.h" |
| 45 #include "core/html/TimeRanges.h" | 48 #include "core/html/TimeRanges.h" |
| 46 #include "core/html/track/AudioTrack.h" | 49 #include "core/html/track/AudioTrack.h" |
| 47 #include "core/html/track/AudioTrackList.h" | 50 #include "core/html/track/AudioTrackList.h" |
| 48 #include "core/html/track/VideoTrack.h" | 51 #include "core/html/track/VideoTrack.h" |
| 49 #include "core/html/track/VideoTrackList.h" | 52 #include "core/html/track/VideoTrackList.h" |
| 50 #include "modules/mediasource/MediaSource.h" | 53 #include "modules/mediasource/MediaSource.h" |
| 51 #include "modules/mediasource/SourceBufferTrackBaseSupplement.h" | 54 #include "modules/mediasource/SourceBufferTrackBaseSupplement.h" |
| 52 #include "platform/RuntimeEnabledFeatures.h" | 55 #include "platform/RuntimeEnabledFeatures.h" |
| 53 #include "platform/instrumentation/tracing/TraceEvent.h" | 56 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 54 #include "public/platform/WebSourceBuffer.h" | 57 #include "public/platform/WebSourceBuffer.h" |
| 55 #include "wtf/MathExtras.h" | 58 #include "wtf/MathExtras.h" |
| 56 #include <limits> | |
| 57 #include <memory> | |
| 58 #include <sstream> | |
| 59 | 59 |
| 60 #ifndef BLINK_SBLOG | 60 #ifndef BLINK_SBLOG |
| 61 #define BLINK_SBLOG DVLOG(3) | 61 #define BLINK_SBLOG DVLOG(3) |
| 62 #endif | 62 #endif |
| 63 | 63 |
| 64 using blink::WebSourceBuffer; | 64 using blink::WebSourceBuffer; |
| 65 | 65 |
| 66 namespace blink { | 66 namespace blink { |
| 67 | 67 |
| 68 namespace { | 68 namespace { |
| (...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1299 visitor->trace(m_asyncEventQueue); | 1299 visitor->trace(m_asyncEventQueue); |
| 1300 visitor->trace(m_appendBufferAsyncPartRunner); | 1300 visitor->trace(m_appendBufferAsyncPartRunner); |
| 1301 visitor->trace(m_removeAsyncPartRunner); | 1301 visitor->trace(m_removeAsyncPartRunner); |
| 1302 visitor->trace(m_audioTracks); | 1302 visitor->trace(m_audioTracks); |
| 1303 visitor->trace(m_videoTracks); | 1303 visitor->trace(m_videoTracks); |
| 1304 EventTargetWithInlineData::trace(visitor); | 1304 EventTargetWithInlineData::trace(visitor); |
| 1305 SuspendableObject::trace(visitor); | 1305 SuspendableObject::trace(visitor); |
| 1306 } | 1306 } |
| 1307 | 1307 |
| 1308 } // namespace blink | 1308 } // namespace blink |
| OLD | NEW |