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

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: rebase + minor update 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
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 capture has been started.
henrika_dont_use 2011/08/07 16:52:27 Just thinking; we mix "input", "capture" and "reco
wjia(left Chromium) 2011/08/09 01:40:36 replace "capture" with "record". I will keep "reco
+ virtual void OnRecordingStarted() = 0;
+
+ // Audio capture 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

Powered by Google App Engine
This is Rietveld 408576698