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

Unified Diff: content/renderer/media/media_stream_dependency_factory.h

Issue 12084088: Renamed WebMediaStreamComponent and WebMediaStreamDescriptor to WebMediaStreamTrack & WebMediaStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: content/renderer/media/media_stream_dependency_factory.h
diff --git a/content/renderer/media/media_stream_dependency_factory.h b/content/renderer/media/media_stream_dependency_factory.h
index e9c934095b842f913b480faecb2b65d8ce112a7e..712e9324202b15b9d2a513a0630cfd5ea641b7a6 100644
--- a/content/renderer/media/media_stream_dependency_factory.h
+++ b/content/renderer/media/media_stream_dependency_factory.h
@@ -33,9 +33,7 @@ class PeerConnection;
namespace WebKit {
class WebFrame;
class WebMediaConstraints;
-class WebMediaStreamDescriptor;
-class WebPeerConnection00Handler;
-class WebPeerConnection00HandlerClient;
+class WebMediaStream;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
}
@@ -53,18 +51,13 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
: NON_EXPORTED_BASE(public base::NonThreadSafe) {
public:
// MediaSourcesCreatedCallback is used in CreateNativeMediaSources.
- typedef base::Callback<void(WebKit::WebMediaStreamDescriptor* description,
+ typedef base::Callback<void(WebKit::WebMediaStream* description,
bool live)> MediaSourcesCreatedCallback;
MediaStreamDependencyFactory(
VideoCaptureImplManager* vc_manager,
P2PSocketDispatcher* p2p_socket_dispatcher);
virtual ~MediaStreamDependencyFactory();
- // Create a PeerConnectionHandlerJsep object that implements the
- // WebKit WebPeerConnection00Handler interface.
- WebKit::WebPeerConnection00Handler* CreatePeerConnectionHandlerJsep(
- WebKit::WebPeerConnection00HandlerClient* client);
-
// Create a RTCPeerConnectionHandler object that implements the
// WebKit WebRTCPeerConnectionHandler interface.
WebKit::WebRTCPeerConnectionHandler* CreateRTCPeerConnectionHandler(
@@ -80,20 +73,20 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
void CreateNativeMediaSources(
const WebKit::WebMediaConstraints& audio_constraints,
const WebKit::WebMediaConstraints& video_constraints,
- WebKit::WebMediaStreamDescriptor* description,
+ WebKit::WebMediaStream* description,
const MediaSourcesCreatedCallback& sources_created);
// Creates a libjingle representation of a MediaStream and stores
// it in the extra data field of |description|.
void CreateNativeLocalMediaStream(
- WebKit::WebMediaStreamDescriptor* description);
+ WebKit::WebMediaStream* description);
// Creates a libjingle representation of a MediaStream and stores
// it in the extra data field of |description|.
// |stream_stopped| is a callback that is run when a MediaStream have been
// stopped.
void CreateNativeLocalMediaStream(
- WebKit::WebMediaStreamDescriptor* description,
+ WebKit::WebMediaStream* description,
const MediaStreamExtraData::StreamStopCallback& stream_stop);
// Asks the libjingle PeerConnection factory to create a libjingle
« no previous file with comments | « content/renderer/media/media_stream_center.cc ('k') | content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698