| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MediaRecorder_h | 5 #ifndef MediaRecorder_h |
| 6 #define MediaRecorder_h | 6 #define MediaRecorder_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "bindings/core/v8/ActiveScriptWrappable.h" | 9 #include "bindings/core/v8/ActiveScriptWrappable.h" |
| 9 #include "core/dom/SuspendableObject.h" | 10 #include "core/dom/SuspendableObject.h" |
| 10 #include "core/events/EventTarget.h" | 11 #include "core/events/EventTarget.h" |
| 11 #include "modules/EventTargetModules.h" | 12 #include "modules/EventTargetModules.h" |
| 12 #include "modules/ModulesExport.h" | 13 #include "modules/ModulesExport.h" |
| 13 #include "modules/mediarecorder/MediaRecorderOptions.h" | 14 #include "modules/mediarecorder/MediaRecorderOptions.h" |
| 14 #include "modules/mediastream/MediaStream.h" | 15 #include "modules/mediastream/MediaStream.h" |
| 15 #include "platform/AsyncMethodRunner.h" | 16 #include "platform/AsyncMethodRunner.h" |
| 16 #include "public/platform/WebMediaRecorderHandler.h" | 17 #include "public/platform/WebMediaRecorderHandler.h" |
| 17 #include "public/platform/WebMediaRecorderHandlerClient.h" | 18 #include "public/platform/WebMediaRecorderHandlerClient.h" |
| 18 #include <memory> | |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 | 21 |
| 22 class Blob; | 22 class Blob; |
| 23 class BlobData; | 23 class BlobData; |
| 24 class ExceptionState; | 24 class ExceptionState; |
| 25 | 25 |
| 26 class MODULES_EXPORT MediaRecorder final | 26 class MODULES_EXPORT MediaRecorder final |
| 27 : public EventTargetWithInlineData, | 27 : public EventTargetWithInlineData, |
| 28 public WebMediaRecorderHandlerClient, | 28 public WebMediaRecorderHandlerClient, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 std::unique_ptr<WebMediaRecorderHandler> m_recorderHandler; | 113 std::unique_ptr<WebMediaRecorderHandler> m_recorderHandler; |
| 114 | 114 |
| 115 Member<AsyncMethodRunner<MediaRecorder>> m_dispatchScheduledEventRunner; | 115 Member<AsyncMethodRunner<MediaRecorder>> m_dispatchScheduledEventRunner; |
| 116 HeapVector<Member<Event>> m_scheduledEvents; | 116 HeapVector<Member<Event>> m_scheduledEvents; |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 } // namespace blink | 119 } // namespace blink |
| 120 | 120 |
| 121 #endif // MediaRecorder_h | 121 #endif // MediaRecorder_h |
| OLD | NEW |