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

Unified Diff: media/audio/audio_manager.h

Issue 9433006: Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The reason is the content mo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 8 years, 10 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: media/audio/audio_manager.h
===================================================================
--- media/audio/audio_manager.h (revision 122828)
+++ media/audio/audio_manager.h (working copy)
@@ -31,6 +31,9 @@
// NOTE: There should only be one instance.
static AudioManager* Create();
+ // Returns the AudioManager object if it's been created, NULL otherwise.
+ static AudioManager* Get();
+
// Returns true if the OS reports existence of audio devices. This does not
// guarantee that the existing devices support all formats and sample rates.
virtual bool HasAudioOutputDevices() = 0;

Powered by Google App Engine
This is Rietveld 408576698