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

Unified Diff: content/browser/renderer_host/media/mock_media_observer.h

Issue 23533039: Re-enables three WebRTC unit tests in content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabled Android and improved tests for all other platforms Created 7 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
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_device_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/mock_media_observer.h
diff --git a/content/browser/renderer_host/media/mock_media_observer.h b/content/browser/renderer_host/media/mock_media_observer.h
index fc3734744ea56e5e1daa88f9f1b75517706bdf89..5f7fb847b3ce2b78388e4a901c9fc1d999ae7156 100644
--- a/content/browser/renderer_host/media/mock_media_observer.h
+++ b/content/browser/renderer_host/media/mock_media_observer.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "content/browser/media/media_internals.h"
#include "content/public/browser/media_observer.h"
+#include "media/audio/audio_parameters.h"
#include "media/base/media_log_event.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -47,6 +48,10 @@ class MockMediaInternals : public MediaInternals {
void(void* host, int stream_id));
MOCK_METHOD3(OnSetAudioStreamPlaying,
void(void* host, int stream_id, bool playing));
+ MOCK_METHOD4(OnAudioStreamCreated,
+ void(void* host, int stream_id,
+ const media::AudioParameters& params,
+ const std::string& input_device_id));
MOCK_METHOD3(OnSetAudioStreamStatus,
void(void* host, int stream_id, const std::string& status));
MOCK_METHOD3(OnSetAudioStreamVolume,
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_device_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698