| 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/MediaSource.h" | 31 #include "modules/mediasource/MediaSource.h" |
| 32 | 32 |
| 33 #include <memory> |
| 33 #include "bindings/core/v8/ExceptionMessages.h" | 34 #include "bindings/core/v8/ExceptionMessages.h" |
| 34 #include "bindings/core/v8/ExceptionState.h" | 35 #include "bindings/core/v8/ExceptionState.h" |
| 35 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
| 36 #include "core/events/Event.h" | 37 #include "core/events/Event.h" |
| 37 #include "core/events/GenericEventQueue.h" | 38 #include "core/events/GenericEventQueue.h" |
| 38 #include "core/frame/Deprecation.h" | 39 #include "core/frame/Deprecation.h" |
| 39 #include "core/frame/UseCounter.h" | 40 #include "core/frame/UseCounter.h" |
| 40 #include "core/html/HTMLMediaElement.h" | 41 #include "core/html/HTMLMediaElement.h" |
| 41 #include "core/html/track/AudioTrackList.h" | 42 #include "core/html/track/AudioTrackList.h" |
| 42 #include "core/html/track/VideoTrackList.h" | 43 #include "core/html/track/VideoTrackList.h" |
| 43 #include "modules/mediasource/MediaSourceRegistry.h" | 44 #include "modules/mediasource/MediaSourceRegistry.h" |
| 44 #include "modules/mediasource/SourceBufferTrackBaseSupplement.h" | 45 #include "modules/mediasource/SourceBufferTrackBaseSupplement.h" |
| 45 #include "platform/RuntimeEnabledFeatures.h" | 46 #include "platform/RuntimeEnabledFeatures.h" |
| 46 #include "platform/instrumentation/tracing/TraceEvent.h" | 47 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 47 #include "platform/network/mime/ContentType.h" | 48 #include "platform/network/mime/ContentType.h" |
| 48 #include "platform/network/mime/MIMETypeRegistry.h" | 49 #include "platform/network/mime/MIMETypeRegistry.h" |
| 49 #include "public/platform/WebMediaSource.h" | 50 #include "public/platform/WebMediaSource.h" |
| 50 #include "public/platform/WebSourceBuffer.h" | 51 #include "public/platform/WebSourceBuffer.h" |
| 51 #include "wtf/PtrUtil.h" | 52 #include "wtf/PtrUtil.h" |
| 52 #include "wtf/text/CString.h" | 53 #include "wtf/text/CString.h" |
| 53 #include <memory> | |
| 54 | 54 |
| 55 #ifndef BLINK_MSLOG | 55 #ifndef BLINK_MSLOG |
| 56 #define BLINK_MSLOG DVLOG(3) | 56 #define BLINK_MSLOG DVLOG(3) |
| 57 #endif | 57 #endif |
| 58 | 58 |
| 59 using blink::WebMediaSource; | 59 using blink::WebMediaSource; |
| 60 using blink::WebSourceBuffer; | 60 using blink::WebSourceBuffer; |
| 61 | 61 |
| 62 namespace blink { | 62 namespace blink { |
| 63 | 63 |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 event->setTarget(this); | 811 event->setTarget(this); |
| 812 | 812 |
| 813 m_asyncEventQueue->enqueueEvent(event); | 813 m_asyncEventQueue->enqueueEvent(event); |
| 814 } | 814 } |
| 815 | 815 |
| 816 URLRegistry& MediaSource::registry() const { | 816 URLRegistry& MediaSource::registry() const { |
| 817 return MediaSourceRegistry::registry(); | 817 return MediaSourceRegistry::registry(); |
| 818 } | 818 } |
| 819 | 819 |
| 820 } // namespace blink | 820 } // namespace blink |
| OLD | NEW |