OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef InternalsMediaStream_h |
| 6 #define InternalsMediaStream_h |
| 7 |
| 8 #include "wtf/Allocator.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class Internals; |
| 13 class MediaDeviceInfo; |
| 14 class MediaStreamTrack; |
| 15 class MediaTrackConstraints; |
| 16 class ScriptPromise; |
| 17 class ScriptState; |
| 18 |
| 19 class InternalsMediaStream { |
| 20 STATIC_ONLY(InternalsMediaStream); |
| 21 |
| 22 public: |
| 23 static ScriptPromise addFakeDevice(ScriptState*, |
| 24 Internals&, |
| 25 const MediaDeviceInfo*, |
| 26 const MediaTrackConstraints& capabilities, |
| 27 const MediaStreamTrack* dataSource); |
| 28 }; |
| 29 |
| 30 } // namespace blink |
| 31 |
| 32 #endif // InternalsMediaStream_h |
OLD | NEW |