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 26 matching lines...) Expand all Loading... |
37 #include "platform/AsyncMethodRunner.h" | 37 #include "platform/AsyncMethodRunner.h" |
38 #include "platform/weborigin/KURL.h" | 38 #include "platform/weborigin/KURL.h" |
39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
40 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
41 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 class WebSourceBuffer; | 44 class WebSourceBuffer; |
45 } | 45 } |
46 | 46 |
47 namespace WebCore { | 47 namespace blink { |
48 | 48 |
49 class ExceptionState; | 49 class ExceptionState; |
50 class FileReaderLoader; | 50 class FileReaderLoader; |
51 class GenericEventQueue; | 51 class GenericEventQueue; |
52 class MediaSource; | 52 class MediaSource; |
53 class Stream; | 53 class Stream; |
54 class TimeRanges; | 54 class TimeRanges; |
55 | 55 |
56 class SourceBuffer FINAL : public RefCountedGarbageCollectedWillBeGarbageCollect
edFinalized<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineD
ata, public FileReaderLoaderClient { | 56 class SourceBuffer FINAL : public RefCountedGarbageCollectedWillBeGarbageCollect
edFinalized<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineD
ata, public FileReaderLoaderClient { |
57 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<S
ourceBuffer>); | 57 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<S
ourceBuffer>); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 double m_pendingRemoveEnd; | 136 double m_pendingRemoveEnd; |
137 AsyncMethodRunner<SourceBuffer> m_removeAsyncPartRunner; | 137 AsyncMethodRunner<SourceBuffer> m_removeAsyncPartRunner; |
138 | 138 |
139 bool m_streamMaxSizeValid; | 139 bool m_streamMaxSizeValid; |
140 unsigned long long m_streamMaxSize; | 140 unsigned long long m_streamMaxSize; |
141 AsyncMethodRunner<SourceBuffer> m_appendStreamAsyncPartRunner; | 141 AsyncMethodRunner<SourceBuffer> m_appendStreamAsyncPartRunner; |
142 RefPtrWillBeMember<Stream> m_stream; | 142 RefPtrWillBeMember<Stream> m_stream; |
143 OwnPtr<FileReaderLoader> m_loader; | 143 OwnPtr<FileReaderLoader> m_loader; |
144 }; | 144 }; |
145 | 145 |
146 } // namespace WebCore | 146 } // namespace blink |
147 | 147 |
148 #endif | 148 #endif |
OLD | NEW |