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

Unified Diff: trunk/src/media/audio/test_audio_input_controller_factory.cc

Issue 22871007: Revert 217768 "Adding key press detection in the browser process." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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: trunk/src/media/audio/test_audio_input_controller_factory.cc
===================================================================
--- trunk/src/media/audio/test_audio_input_controller_factory.cc (revision 217773)
+++ trunk/src/media/audio/test_audio_input_controller_factory.cc (working copy)
@@ -12,9 +12,8 @@
AudioManager* audio_manager,
const AudioParameters& audio_parameters,
EventHandler* event_handler,
- SyncWriter* sync_writer,
- UserInputMonitor* user_input_monitor)
- : AudioInputController(event_handler, sync_writer, user_input_monitor),
+ SyncWriter* sync_writer)
+ : AudioInputController(event_handler, sync_writer),
audio_parameters_(audio_parameters),
factory_(factory),
event_handler_(event_handler) {
@@ -49,11 +48,10 @@
AudioInputController* TestAudioInputControllerFactory::Create(
AudioManager* audio_manager,
AudioInputController::EventHandler* event_handler,
- AudioParameters params,
- UserInputMonitor* user_input_monitor) {
+ AudioParameters params) {
DCHECK(!controller_); // Only one test instance managed at a time.
- controller_ = new TestAudioInputController(
- this, audio_manager, params, event_handler, NULL, user_input_monitor);
+ controller_ = new TestAudioInputController(this, audio_manager, params,
+ event_handler, NULL);
return controller_;
}
« no previous file with comments | « trunk/src/media/audio/test_audio_input_controller_factory.h ('k') | trunk/src/media/base/audio_capturer_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698