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

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

Issue 10919122: Move creation of PeerConnection from the RenderView to the RenderThreadImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed UMA_HISTOGRAM_ENUMERATION and cleaned up. Created 8 years, 3 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 a6dc9b8754cfae618cd8bf5caf95176f11cdec02..d8af045c79090685f2bdd5e91458e629156d80f9 100644
--- a/content/renderer/media/media_stream_dependency_factory.h
+++ b/content/renderer/media/media_stream_dependency_factory.h
@@ -33,6 +33,11 @@ class PeerConnection;
class VideoCaptureModule;
}
+namespace WebKit {
+class WebPeerConnection00Handler;
+class WebPeerConnection00HandlerClient;
+}
+
class VideoCaptureImplManager;
// Object factory for MediaStreamImpl and PeerConnectionHandler.
@@ -41,6 +46,10 @@ class CONTENT_EXPORT MediaStreamDependencyFactory {
explicit MediaStreamDependencyFactory(VideoCaptureImplManager* vc_manager);
virtual ~MediaStreamDependencyFactory();
+ // Create a WebKit WebPeerConnection00Handler.
+ WebKit::WebPeerConnection00Handler* CreatePeerConnectionHandlerJsep(
+ WebKit::WebPeerConnection00HandlerClient* client);
+
// Creates and deletes |pc_factory_|, which in turn is used for
// creating PeerConnection objects.
virtual bool CreatePeerConnectionFactory(

Powered by Google App Engine
This is Rietveld 408576698