| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 InternalsMediaStream_h | 5 #ifndef InternalsMediaStream_h |
| 6 #define InternalsMediaStream_h | 6 #define InternalsMediaStream_h |
| 7 | 7 |
| 8 #include "wtf/Allocator.h" | 8 #include "platform/wtf/Allocator.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 class Internals; | 12 class Internals; |
| 13 class MediaDeviceInfo; | 13 class MediaDeviceInfo; |
| 14 class MediaStreamTrack; | 14 class MediaStreamTrack; |
| 15 class MediaTrackConstraints; | 15 class MediaTrackConstraints; |
| 16 class ScriptPromise; | 16 class ScriptPromise; |
| 17 class ScriptState; | 17 class ScriptState; |
| 18 | 18 |
| 19 class InternalsMediaStream { | 19 class InternalsMediaStream { |
| 20 STATIC_ONLY(InternalsMediaStream); | 20 STATIC_ONLY(InternalsMediaStream); |
| 21 | 21 |
| 22 public: | 22 public: |
| 23 static ScriptPromise addFakeDevice(ScriptState*, | 23 static ScriptPromise addFakeDevice(ScriptState*, |
| 24 Internals&, | 24 Internals&, |
| 25 const MediaDeviceInfo*, | 25 const MediaDeviceInfo*, |
| 26 const MediaTrackConstraints& capabilities, | 26 const MediaTrackConstraints& capabilities, |
| 27 const MediaStreamTrack* data_source); | 27 const MediaStreamTrack* data_source); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace blink | 30 } // namespace blink |
| 31 | 31 |
| 32 #endif // InternalsMediaStream_h | 32 #endif // InternalsMediaStream_h |
| OLD | NEW |