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

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

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/audio_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
index f4733b29f9500433e5aa3a09711c7442465aec30..de5944eac9096b8503736dd1a5d301375dc0b23b 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -83,8 +83,7 @@ class CONTENT_EXPORT AudioRendererHost
virtual void OnCreated(media::AudioOutputController* controller) OVERRIDE;
virtual void OnPlaying(media::AudioOutputController* controller) OVERRIDE;
virtual void OnPaused(media::AudioOutputController* controller) OVERRIDE;
- virtual void OnError(media::AudioOutputController* controller,
- int error_code) OVERRIDE;
+ virtual void OnError(media::AudioOutputController* controller) OVERRIDE;
virtual void OnDeviceChange(media::AudioOutputController* controller,
int new_buffer_size,
int new_sample_rate) OVERRIDE;
@@ -141,7 +140,7 @@ class CONTENT_EXPORT AudioRendererHost
int new_buffer_size, int new_sample_rate);
// Handle error coming from audio stream.
- void DoHandleError(media::AudioOutputController* controller, int error_code);
+ void DoHandleError(media::AudioOutputController* controller);
// Send an error message to the renderer.
void SendErrorMessage(int stream_id);

Powered by Google App Engine
This is Rietveld 408576698