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

Unified Diff: content/renderer/media/audio_input_device_event_handler.h

Issue 7497025: refactor AudioInputDevice to remove race condition. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: code review Created 9 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
« no previous file with comments | « content/renderer/media/audio_input_device.cc ('k') | content/renderer/media/audio_input_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_input_device_event_handler.h
===================================================================
--- content/renderer/media/audio_input_device_event_handler.h (revision 0)
+++ content/renderer/media/audio_input_device_event_handler.h (revision 0)
@@ -0,0 +1,20 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_MEDIA_AUDIO_INPUT_DEVICE_EVENT_HANDLER_H_
+#define CONTENT_RENDERER_MEDIA_AUDIO_INPUT_DEVICE_EVENT_HANDLER_H_
+
+class AudioInputDeviceEventHandler {
+ public:
+ // Audio recording has been started.
+ virtual void OnRecordingStarted() = 0;
+
+ // Audio recording has been stopped.
+ virtual void OnRecordingStopped() = 0;
+
+ protected:
+ virtual ~AudioInputDeviceEventHandler() {}
+};
+
+#endif // CONTENT_RENDERER_MEDIA_AUDIO_INPUT_DEVICE_EVENT_HANDLER_H_
Property changes on: content/renderer/media/audio_input_device_event_handler.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/renderer/media/audio_input_device.cc ('k') | content/renderer/media/audio_input_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698