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

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

Issue 8491044: Link things together and enable the device selection for linux and mac. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: fixing unittests Created 9 years, 1 month 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.h
diff --git a/content/browser/renderer_host/media/audio_input_device_manager.h b/content/browser/renderer_host/media/audio_input_device_manager.h
index 342e1c08337ed951a403f68fd0d92bd14e72f95e..12507222e4da71cfd80abf39306e2f775614f4f4 100644
--- a/content/browser/renderer_host/media/audio_input_device_manager.h
+++ b/content/browser/renderer_host/media/audio_input_device_manager.h
@@ -32,8 +32,7 @@ class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider {
// AudioInputDeviceManager before MediaStream is implemented.
static const int kFakeOpenSessionId;
static const int kInvalidSessionId;
- static const int kInvalidDevice;
- static const int kDefaultDeviceIndex;
+ static const char kInvalidDeviceUId[];
AudioInputDeviceManager();
virtual ~AudioInputDeviceManager();
@@ -70,7 +69,7 @@ class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider {
void ErrorOnIOThread(int session_id, MediaStreamProviderError error);
// Executed on IO thread to call the event handler.
- void StartedOnIOThread(int session_id, int index);
+ void StartedOnIOThread(int session_id, const std::string& device_uid);
henrika (OOO until Aug 14) 2011/11/16 13:24:02 u=unique? Why emphasize for only one of the parame
no longer working on chromium 2011/11/16 17:45:48 Done.
void StoppedOnIOThread(int session_id);
// Executed on audio_input_device_thread_ to make sure

Powered by Google App Engine
This is Rietveld 408576698