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

Unified Diff: media/base/fake_audio_renderer_sink.cc

Issue 1186943003: Revert of Add support for the audio-output-device switching IPC mechanism to the renderer lower... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « media/base/fake_audio_renderer_sink.h ('k') | media/base/mock_audio_renderer_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_audio_renderer_sink.cc
diff --git a/media/base/fake_audio_renderer_sink.cc b/media/base/fake_audio_renderer_sink.cc
index 4c4233b5e08a25888fe3edc4655e05651dfde561..d42db6de1b9a7eba16f42c4417c56aa218112576 100644
--- a/media/base/fake_audio_renderer_sink.cc
+++ b/media/base/fake_audio_renderer_sink.cc
@@ -4,10 +4,7 @@
#include "media/base/fake_audio_renderer_sink.h"
-#include "base/bind.h"
-#include "base/location.h"
#include "base/logging.h"
-#include "base/single_thread_task_runner.h"
namespace media {
@@ -55,13 +52,6 @@
return true;
}
-void FakeAudioRendererSink::SwitchOutputDevice(
- const std::string& device_id,
- const GURL& security_origin,
- const SwitchOutputDeviceCB& callback) {
- callback.Run(SWITCH_OUTPUT_DEVICE_RESULT_SUCCESS);
-}
-
bool FakeAudioRendererSink::Render(AudioBus* dest, int audio_delay_milliseconds,
int* frames_written) {
if (state_ != kPlaying)
« no previous file with comments | « media/base/fake_audio_renderer_sink.h ('k') | media/base/mock_audio_renderer_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698