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

Unified Diff: media/audio/audio_manager.h

Issue 2626263006: Add browser test for getusermedia and unavailable audio device. (Closed)
Patch Set: Add comment Created 3 years, 11 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/browser/webrtc/webrtc_getusermedia_browsertest.cc ('k') | media/audio/audio_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 65632515a3c60d3f3764695fcb538c2297e5235c..c5a7cdd949b96f912b1ca50aca03da4439bae293 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -251,6 +251,9 @@ class MEDIA_EXPORT AudioManager {
// Gets the name of the audio manager (e.g., Windows, Mac, PulseAudio).
virtual const char* GetName() = 0;
+ // Limits the number of streams that can be created for testing purposes.
+ virtual void SetMaxStreamCountForTesting(int max_input, int max_output);
+
protected:
AudioManager(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner);
« no previous file with comments | « content/browser/webrtc/webrtc_getusermedia_browsertest.cc ('k') | media/audio/audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698