Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestPromiseImpl.h

Issue 2097563002: Split the mediastream module in Blink into mediastream and peerconnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DEPS file Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef RTCSessionDescriptionRequestPromiseImpl_h
6 #define RTCSessionDescriptionRequestPromiseImpl_h
7
8 #include "platform/mediastream/RTCSessionDescriptionRequest.h"
9 #include "wtf/text/WTFString.h"
10
11 namespace blink {
12
13 class RTCPeerConnection;
14 class ScriptPromiseResolver;
15 class WebRTCSessionDescription;
16
17 class RTCSessionDescriptionRequestPromiseImpl final : public RTCSessionDescripti onRequest {
18 public:
19 static RTCSessionDescriptionRequestPromiseImpl* create(RTCPeerConnection*, S criptPromiseResolver*);
20 ~RTCSessionDescriptionRequestPromiseImpl() override;
21
22 // RTCSessionDescriptionRequest
23 void requestSucceeded(const WebRTCSessionDescription&) override;
24 void requestFailed(const String& error) override;
25
26 DECLARE_VIRTUAL_TRACE();
27
28 private:
29 RTCSessionDescriptionRequestPromiseImpl(RTCPeerConnection*, ScriptPromiseRes olver*);
30
31 void clear();
32
33 Member<RTCPeerConnection> m_requester;
34 Member<ScriptPromiseResolver> m_resolver;
35 };
36
37 } // namespace blink
38
39 #endif // RTCSessionDescriptionRequestPromiseImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698