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 21 matching lines...) Expand all Loading... |
32 #include "modules/mediasource/SourceBuffer.h" | 32 #include "modules/mediasource/SourceBuffer.h" |
33 | 33 |
34 #include "bindings/v8/ExceptionState.h" | 34 #include "bindings/v8/ExceptionState.h" |
35 #include "core/dom/ExceptionCode.h" | 35 #include "core/dom/ExceptionCode.h" |
36 #include "core/dom/ExecutionContext.h" | 36 #include "core/dom/ExecutionContext.h" |
37 #include "core/events/Event.h" | 37 #include "core/events/Event.h" |
38 #include "core/events/GenericEventQueue.h" | 38 #include "core/events/GenericEventQueue.h" |
39 #include "core/fileapi/FileReaderLoader.h" | 39 #include "core/fileapi/FileReaderLoader.h" |
40 #include "core/fileapi/Stream.h" | 40 #include "core/fileapi/Stream.h" |
41 #include "core/html/TimeRanges.h" | 41 #include "core/html/TimeRanges.h" |
42 #include "core/platform/graphics/SourceBufferPrivate.h" | |
43 #include "modules/mediasource/MediaSource.h" | 42 #include "modules/mediasource/MediaSource.h" |
44 #include "platform/Logging.h" | 43 #include "platform/Logging.h" |
45 #include "platform/TraceEvent.h" | 44 #include "platform/TraceEvent.h" |
46 #include "wtf/ArrayBuffer.h" | 45 #include "wtf/ArrayBuffer.h" |
47 #include "wtf/ArrayBufferView.h" | 46 #include "wtf/ArrayBufferView.h" |
48 #include "wtf/MathExtras.h" | 47 #include "wtf/MathExtras.h" |
49 | 48 |
50 #include <limits> | 49 #include <limits> |
51 | 50 |
52 namespace WebCore { | 51 namespace WebCore { |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 appendStreamDone(true); | 629 appendStreamDone(true); |
631 } | 630 } |
632 | 631 |
633 void SourceBuffer::didFail(FileError::ErrorCode errorCode) | 632 void SourceBuffer::didFail(FileError::ErrorCode errorCode) |
634 { | 633 { |
635 LOG(Media, "SourceBuffer::didFail(%d) %p", errorCode, this); | 634 LOG(Media, "SourceBuffer::didFail(%d) %p", errorCode, this); |
636 appendStreamDone(false); | 635 appendStreamDone(false); |
637 } | 636 } |
638 | 637 |
639 } // namespace WebCore | 638 } // namespace WebCore |
OLD | NEW |