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/events/Event.h" | 35 #include "core/events/Event.h" |
36 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
37 #include "core/events/GenericEventQueue.h" | 37 #include "core/events/GenericEventQueue.h" |
38 #include "core/dom/ScriptExecutionContext.h" | 38 #include "core/dom/ScriptExecutionContext.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/Logging.h" | 42 #include "platform/Logging.h" |
43 #include "core/platform/graphics/SourceBufferPrivate.h" | 43 #include "core/platform/graphics/SourceBufferPrivate.h" |
44 #include "modules/mediasource/MediaSource.h" | 44 #include "modules/mediasource/MediaSource.h" |
45 #include "wtf/ArrayBuffer.h" | 45 #include "wtf/ArrayBuffer.h" |
46 #include "wtf/ArrayBufferView.h" | 46 #include "wtf/ArrayBufferView.h" |
47 #include "wtf/MathExtras.h" | 47 #include "wtf/MathExtras.h" |
48 | 48 |
49 #include <limits> | 49 #include <limits> |
50 | 50 |
51 namespace WebCore { | 51 namespace WebCore { |
52 | 52 |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 appendStreamDone(true); | 599 appendStreamDone(true); |
600 } | 600 } |
601 | 601 |
602 void SourceBuffer::didFail(FileError::ErrorCode errorCode) | 602 void SourceBuffer::didFail(FileError::ErrorCode errorCode) |
603 { | 603 { |
604 LOG(Media, "SourceBuffer::didFail(%d) %p", errorCode, this); | 604 LOG(Media, "SourceBuffer::didFail(%d) %p", errorCode, this); |
605 appendStreamDone(false); | 605 appendStreamDone(false); |
606 } | 606 } |
607 | 607 |
608 } // namespace WebCore | 608 } // namespace WebCore |
OLD | NEW |