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

Unified Diff: trunk/src/content/browser/renderer_host/media/audio_input_renderer_host.h

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/content/browser/renderer_host/media/audio_input_renderer_host.h
===================================================================
--- trunk/src/content/browser/renderer_host/media/audio_input_renderer_host.h (revision 217773)
+++ trunk/src/content/browser/renderer_host/media/audio_input_renderer_host.h (working copy)
@@ -44,7 +44,6 @@
namespace media {
class AudioManager;
class AudioParameters;
-class UserInputMonitor;
}
namespace content {
@@ -56,11 +55,10 @@
public media::AudioInputController::EventHandler {
public:
// Called from UI thread from the owner of this object.
- // |user_input_monitor| is used for typing detection and can be NULL.
- AudioInputRendererHost(media::AudioManager* audio_manager,
- MediaStreamManager* media_stream_manager,
- AudioMirroringManager* audio_mirroring_manager,
- media::UserInputMonitor* user_input_monitor);
+ AudioInputRendererHost(
+ media::AudioManager* audio_manager,
+ MediaStreamManager* media_stream_manager,
+ AudioMirroringManager* audio_mirroring_manager);
// BrowserMessageFilter implementation.
virtual void OnChannelClosing() OVERRIDE;
@@ -156,9 +154,6 @@
// A map of stream IDs to audio sources.
AudioEntryMap audio_entries_;
- // Raw pointer of the UserInputMonitor.
- media::UserInputMonitor* user_input_monitor_;
-
DISALLOW_COPY_AND_ASSIGN(AudioInputRendererHost);
};

Powered by Google App Engine
This is Rietveld 408576698