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

Unified Diff: content/renderer/media/audio_input_message_filter.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: rebase2 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
« 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_message_filter.h
diff --git a/content/renderer/media/audio_input_message_filter.h b/content/renderer/media/audio_input_message_filter.h
index f3b1e43a4f1d7992987692b1194b890e77fe9dbc..1536be947aff7c58704db08bb25021e0f08c6efb 100644
--- a/content/renderer/media/audio_input_message_filter.h
+++ b/content/renderer/media/audio_input_message_filter.h
@@ -41,7 +41,7 @@ class CONTENT_EXPORT AudioInputMessageFilter
// Called when the device referenced by the index has been started in
// the browswer process.
- virtual void OnDeviceReady(int index) = 0;
+ virtual void OnDeviceReady(const std::string& device_id) = 0;
protected:
virtual ~Delegate() {}
@@ -84,7 +84,7 @@ class CONTENT_EXPORT AudioInputMessageFilter
void OnStreamStateChanged(int stream_id, AudioStreamState state);
// Notification of the opened device of an audio session.
- void OnDeviceStarted(int stream_id, int index);
+ void OnDeviceStarted(int stream_id, const std::string& device_id);
// A map of stream ids to delegates.
IDMap<Delegate> delegates_;
« 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