| 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/peerconnection/RTCVoidRequest.h" | 8 #include "platform/peerconnection/RTCVoidRequest.h" |
| 9 #include "wtf/text/WTFString.h" | 9 #include "platform/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*, | 18 static RTCVoidRequestPromiseImpl* Create(RTCPeerConnection*, |
| 19 ScriptPromiseResolver*); | 19 ScriptPromiseResolver*); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 void Clear(); | 31 void Clear(); |
| 32 | 32 |
| 33 Member<RTCPeerConnection> requester_; | 33 Member<RTCPeerConnection> requester_; |
| 34 Member<ScriptPromiseResolver> resolver_; | 34 Member<ScriptPromiseResolver> resolver_; |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } // namespace blink | 37 } // namespace blink |
| 38 | 38 |
| 39 #endif // RTCVoidRequestPromiseImpl_h | 39 #endif // RTCVoidRequestPromiseImpl_h |
| OLD | NEW |