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

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

Issue 14346002: Connect webrtc MediaSourceInterface ready states with webkit WebMediaStreamSource (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: revised according to comments from tommi Created 7 years, 8 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/mock_media_stream_dependency_factory.h
diff --git a/content/renderer/media/mock_media_stream_dependency_factory.h b/content/renderer/media/mock_media_stream_dependency_factory.h
index 045c45f139ebafb1975fd25742044158c29df2e3..e64cf5cd6134c4a05e1bf0efc9331d81725c63ff 100644
--- a/content/renderer/media/mock_media_stream_dependency_factory.h
+++ b/content/renderer/media/mock_media_stream_dependency_factory.h
@@ -35,7 +35,9 @@ class MockVideoSource : public webrtc::VideoSourceInterface {
virtual ~MockVideoSource();
private:
- webrtc::ObserverInterface* observer_;
+ void FireOnChanged();
+
+ std::vector<webrtc::ObserverInterface*> observers_;
MediaSourceInterface::SourceState state_;
};
« no previous file with comments | « content/renderer/media/media_stream_source_observer.cc ('k') | content/renderer/media/mock_media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698