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 24 matching lines...) Expand all Loading... |
35 #include "bindings/v8/ExceptionState.h" | 35 #include "bindings/v8/ExceptionState.h" |
36 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
37 #include "core/dom/ExecutionContext.h" | 37 #include "core/dom/ExecutionContext.h" |
38 #include "core/events/Event.h" | 38 #include "core/events/Event.h" |
39 #include "core/events/GenericEventQueue.h" | 39 #include "core/events/GenericEventQueue.h" |
40 #include "core/fileapi/FileReaderLoader.h" | 40 #include "core/fileapi/FileReaderLoader.h" |
41 #include "core/fileapi/Stream.h" | 41 #include "core/fileapi/Stream.h" |
42 #include "core/html/TimeRanges.h" | 42 #include "core/html/TimeRanges.h" |
43 #include "modules/mediasource/MediaSource.h" | 43 #include "modules/mediasource/MediaSource.h" |
44 #include "platform/Logging.h" | 44 #include "platform/Logging.h" |
45 #include "platform/TraceEvent.h" | |
46 #include "public/platform/WebSourceBuffer.h" | 45 #include "public/platform/WebSourceBuffer.h" |
47 #include "wtf/ArrayBuffer.h" | 46 #include "wtf/ArrayBuffer.h" |
48 #include "wtf/ArrayBufferView.h" | 47 #include "wtf/ArrayBufferView.h" |
49 #include "wtf/MathExtras.h" | 48 #include "wtf/MathExtras.h" |
| 49 #include "wtf/TraceEvent.h" |
50 | 50 |
51 #include <limits> | 51 #include <limits> |
52 | 52 |
53 using blink::WebSourceBuffer; | 53 using blink::WebSourceBuffer; |
54 | 54 |
55 namespace WebCore { | 55 namespace WebCore { |
56 | 56 |
57 namespace { | 57 namespace { |
58 | 58 |
59 static bool throwExceptionIfRemovedOrUpdating(bool isRemoved, bool isUpdating, E
xceptionState& exceptionState) | 59 static bool throwExceptionIfRemovedOrUpdating(bool isRemoved, bool isUpdating, E
xceptionState& exceptionState) |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 appendStreamDone(false); | 703 appendStreamDone(false); |
704 } | 704 } |
705 | 705 |
706 void SourceBuffer::trace(Visitor* visitor) | 706 void SourceBuffer::trace(Visitor* visitor) |
707 { | 707 { |
708 visitor->trace(m_source); | 708 visitor->trace(m_source); |
709 visitor->trace(m_stream); | 709 visitor->trace(m_stream); |
710 } | 710 } |
711 | 711 |
712 } // namespace WebCore | 712 } // namespace WebCore |
OLD | NEW |