| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 void abortIfUpdating(); | 91 void abortIfUpdating(); |
| 92 void removedFromMediaSource(); | 92 void removedFromMediaSource(); |
| 93 | 93 |
| 94 // ActiveDOMObject interface | 94 // ActiveDOMObject interface |
| 95 bool hasPendingActivity() const override; | 95 bool hasPendingActivity() const override; |
| 96 void suspend() override; | 96 void suspend() override; |
| 97 void resume() override; | 97 void resume() override; |
| 98 void stop() override; | 98 void stop() override; |
| 99 | 99 |
| 100 // EventTarget interface | 100 // EventTarget interface |
| 101 ExecutionContext* executionContext() const override; | 101 ExecutionContext* getExecutionContext() const override; |
| 102 const AtomicString& interfaceName() const override; | 102 const AtomicString& interfaceName() const override; |
| 103 | 103 |
| 104 // WebSourceBufferClient interface | 104 // WebSourceBufferClient interface |
| 105 void initializationSegmentReceived() override; | 105 void initializationSegmentReceived() override; |
| 106 | 106 |
| 107 // Oilpan: eagerly release owned m_webSourceBuffer | 107 // Oilpan: eagerly release owned m_webSourceBuffer |
| 108 EAGERLY_FINALIZE(); | 108 EAGERLY_FINALIZE(); |
| 109 DECLARE_VIRTUAL_TRACE(); | 109 DECLARE_VIRTUAL_TRACE(); |
| 110 | 110 |
| 111 private: | 111 private: |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 bool m_streamMaxSizeValid; | 156 bool m_streamMaxSizeValid; |
| 157 unsigned long long m_streamMaxSize; | 157 unsigned long long m_streamMaxSize; |
| 158 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; | 158 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; |
| 159 Member<Stream> m_stream; | 159 Member<Stream> m_stream; |
| 160 OwnPtr<FileReaderLoader> m_loader; | 160 OwnPtr<FileReaderLoader> m_loader; |
| 161 }; | 161 }; |
| 162 | 162 |
| 163 } // namespace blink | 163 } // namespace blink |
| 164 | 164 |
| 165 #endif // SourceBuffer_h | 165 #endif // SourceBuffer_h |
| OLD | NEW |