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

Unified Diff: content/browser/renderer_host/media/audio_input_device_manager_event_handler.h

Issue 12440027: Do not pass the string device_id via IPC message to create an audio input stream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed Per's comments. Created 7 years, 9 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/browser/renderer_host/media/audio_input_device_manager_event_handler.h
diff --git a/content/browser/renderer_host/media/audio_input_device_manager_event_handler.h b/content/browser/renderer_host/media/audio_input_device_manager_event_handler.h
deleted file mode 100644
index bb23678ada3ce488ef252f47246a1a6ee577b053..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/media/audio_input_device_manager_event_handler.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012 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.
-
-// AudioInputDeviceManagerEventHandler is used to signal events from
-// AudioInoutDeviceManager when it's time to start and stop devices.
-
-#ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_HANDLER_H_
-#define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_HANDLER_H_
-
-#include "content/common/content_export.h"
-
-namespace content {
-
-class CONTENT_EXPORT AudioInputDeviceManagerEventHandler {
- public:
- // Called by AudioInputDeviceManager to create an audio stream using the
- // device index when the device has been started.
- virtual void OnDeviceStarted(int session_id,
- const std::string& device_id) = 0;
-
- // Called by AudioInputDeviceManager to stop the audio stream when a device
- // has been stopped. This method is used only when users call Close() without
- // calling Stop() on a started device.
- virtual void OnDeviceStopped(int session_id) = 0;
-
- protected:
- virtual ~AudioInputDeviceManagerEventHandler() {}
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698