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

Unified Diff: Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h

Issue 16753003: Revert "Remove MediaStreamDescriptor and call/use WebMediaStream directly" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h
diff --git a/Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h b/Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h
index 7189efe04239524c323ffccddd10ca35586d34e5..9a92556b199a2a4778eb79fd4f137fde1a215a40 100644
--- a/Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h
+++ b/Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h
@@ -31,14 +31,15 @@
#ifndef RTCPeerConnectionHandlerChromium_h
#define RTCPeerConnectionHandlerChromium_h
+#include "core/platform/mediastream/MediaStreamDescriptor.h"
#include "core/platform/mediastream/RTCPeerConnectionHandler.h"
-#include "public/platform/WebMediaStream.h"
#include "public/platform/WebRTCPeerConnectionHandler.h"
#include "public/platform/WebRTCPeerConnectionHandlerClient.h"
#include <wtf/OwnPtr.h>
#include <wtf/PassRefPtr.h>
namespace WebKit {
+class WebMediaStream;
class WebRTCICECandidate;
class WebRTCSessionDescription;
}
@@ -64,8 +65,8 @@ public:
virtual WebKit::WebRTCSessionDescription remoteDescription() OVERRIDE;
virtual bool updateIce(PassRefPtr<RTCConfiguration>, PassRefPtr<MediaConstraints>) OVERRIDE;
virtual bool addIceCandidate(WebKit::WebRTCICECandidate) OVERRIDE;
- virtual bool addStream(WebKit::WebMediaStream, PassRefPtr<MediaConstraints>) OVERRIDE;
- virtual void removeStream(WebKit::WebMediaStream) OVERRIDE;
+ virtual bool addStream(PassRefPtr<MediaStreamDescriptor>, PassRefPtr<MediaConstraints>) OVERRIDE;
+ virtual void removeStream(PassRefPtr<MediaStreamDescriptor>) OVERRIDE;
virtual void getStats(PassRefPtr<RTCStatsRequest>) OVERRIDE;
virtual PassOwnPtr<RTCDataChannelHandler> createDataChannel(const String& label, const WebKit::WebRTCDataChannelInit&) OVERRIDE;
virtual PassOwnPtr<RTCDTMFSenderHandler> createDTMFSender(PassRefPtr<MediaStreamComponent>) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698