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

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

Issue 272043003: Renamed MediaStreamDependencyFactory to PeerConnectionDependencyFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 7 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_impl.h
diff --git a/content/renderer/media/media_stream_impl.h b/content/renderer/media/media_stream_impl.h
index af9e13506b5430504256f8eff192662062338f4b..4d57e3d924c26a3fa701b196139fc0ec5cd106d7 100644
--- a/content/renderer/media/media_stream_impl.h
+++ b/content/renderer/media/media_stream_impl.h
@@ -29,7 +29,7 @@
namespace content {
class MediaStreamAudioRenderer;
-class MediaStreamDependencyFactory;
+class PeerConnectionDependencyFactory;
class MediaStreamDispatcher;
class MediaStreamVideoSource;
class VideoCapturerDelegate;
@@ -53,7 +53,7 @@ class CONTENT_EXPORT MediaStreamImpl
MediaStreamImpl(
RenderView* render_view,
MediaStreamDispatcher* media_stream_dispatcher,
- MediaStreamDependencyFactory* dependency_factory);
+ PeerConnectionDependencyFactory* dependency_factory);
virtual ~MediaStreamImpl();
// blink::WebUserMediaClient implementation
@@ -149,8 +149,7 @@ class CONTENT_EXPORT MediaStreamImpl
blink::WebMediaStreamTrack CreateAndStartVideoTrack(
const blink::WebMediaStreamSource& source,
- const blink::WebMediaConstraints& constraints,
- MediaStreamDependencyFactory* factory);
+ const blink::WebMediaConstraints& constraints);
// Triggers |callback| when all sources used in this request have either
// successfully started, or a source has failed to start.
@@ -241,9 +240,11 @@ class CONTENT_EXPORT MediaStreamImpl
bool GetAuthorizedDeviceInfoForAudioRenderer(
int* session_id, int* output_sample_rate, int* output_buffer_size);
- // Weak ref to a MediaStreamDependencyFactory, owned by the RenderThread.
+ // Weak ref to a PeerConnectionDependencyFactory, owned by the RenderThread.
// It's valid for the lifetime of RenderThread.
- MediaStreamDependencyFactory* dependency_factory_;
+ // TODO(xians): Remove this dependency once audio do not need it for local
+ // audio.
+ PeerConnectionDependencyFactory* dependency_factory_;
// media_stream_dispatcher_ is a weak reference, owned by RenderView. It's
// valid for the lifetime of RenderView.
« no previous file with comments | « content/renderer/media/media_stream_dependency_factory_unittest.cc ('k') | content/renderer/media/media_stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698