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

Unified Diff: content/browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc

Issue 12611030: Remove unused parameter to OnError() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits + rebase Created 7 years, 9 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/browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc
diff --git a/content/browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc b/content/browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc
index 20f50eee2397da50a6752045d7cd5bf4e1d6e578..b7869325fac5fe93f977e5bcb129a65d7cb468d2 100644
--- a/content/browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc
+++ b/content/browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc
@@ -164,7 +164,7 @@ class MockAudioInputCallback : public AudioInputStream::AudioInputCallback {
uint32 size, uint32 hardware_delay_bytes,
double volume));
MOCK_METHOD1(OnClose, void(AudioInputStream* stream));
- MOCK_METHOD2(OnError, void(AudioInputStream* stream, int code));
+ MOCK_METHOD1(OnError, void(AudioInputStream* stream));
private:
DISALLOW_COPY_AND_ASSIGN(MockAudioInputCallback);
@@ -335,7 +335,7 @@ class WebContentsAudioInputStreamTest : public testing::Test {
}
void LoseMirroringTarget() {
- EXPECT_CALL(mock_input_callback_, OnError(_, _));
+ EXPECT_CALL(mock_input_callback_, OnError(_));
// Simulate OnTargetChange() callback from WebContentsTracker.
EXPECT_FALSE(change_callback_.is_null());
« no previous file with comments | « content/browser/renderer_host/media/web_contents_audio_input_stream.cc ('k') | content/browser/speech/speech_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698