OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 RTCVoidRequestPromiseImpl_h | 5 #ifndef RTCVoidRequestPromiseImpl_h |
6 #define RTCVoidRequestPromiseImpl_h | 6 #define RTCVoidRequestPromiseImpl_h |
7 | 7 |
8 #include "platform/mediastream/RTCVoidRequest.h" | 8 #include "platform/peerconnection/RTCVoidRequest.h" |
9 #include "wtf/text/WTFString.h" | 9 #include "wtf/text/WTFString.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 class ScriptPromiseResolver; | 13 class ScriptPromiseResolver; |
14 class RTCPeerConnection; | 14 class RTCPeerConnection; |
15 | 15 |
16 class RTCVoidRequestPromiseImpl final : public RTCVoidRequest { | 16 class RTCVoidRequestPromiseImpl final : public RTCVoidRequest { |
17 public: | 17 public: |
18 static RTCVoidRequestPromiseImpl* create(RTCPeerConnection*, ScriptPromiseRe
solver*); | 18 static RTCVoidRequestPromiseImpl* create(RTCPeerConnection*, ScriptPromiseRe
solver*); |
(...skipping 10 matching lines...) Expand all Loading... |
29 | 29 |
30 void clear(); | 30 void clear(); |
31 | 31 |
32 Member<RTCPeerConnection> m_requester; | 32 Member<RTCPeerConnection> m_requester; |
33 Member<ScriptPromiseResolver> m_resolver; | 33 Member<ScriptPromiseResolver> m_resolver; |
34 }; | 34 }; |
35 | 35 |
36 } // namespace blink | 36 } // namespace blink |
37 | 37 |
38 #endif // RTCVoidRequestPromiseImpl_h | 38 #endif // RTCVoidRequestPromiseImpl_h |
OLD | NEW |