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

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

Issue 366243003: VideoTrackAdapter: Add passing frames monitor, notify MSVCS -> MSVTrack(s) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_video_source.h
diff --git a/content/renderer/media/mock_media_stream_video_source.h b/content/renderer/media/mock_media_stream_video_source.h
index ad7463b6d4c74e516ecd8684ca002da2d9af2836..f86bc62d9d13269012bd2397907219f8f40404b1 100644
--- a/content/renderer/media/mock_media_stream_video_source.h
+++ b/content/renderer/media/mock_media_stream_video_source.h
@@ -7,6 +7,8 @@
#include "content/renderer/media/media_stream_video_source.h"
+#include "testing/gmock/include/gmock/gmock.h"
+
namespace content {
class MockMediaStreamVideoSource : public MediaStreamVideoSource {
@@ -14,6 +16,8 @@ class MockMediaStreamVideoSource : public MediaStreamVideoSource {
explicit MockMediaStreamVideoSource(bool manual_get_supported_formats);
virtual ~MockMediaStreamVideoSource();
+ MOCK_METHOD1(SetMutedState, void(bool muted_state));
+
// Simulate that the underlying source start successfully.
void StartMockedSource();

Powered by Google App Engine
This is Rietveld 408576698