Index: chrome/browser/browser_process_impl.cc |
=================================================================== |
--- chrome/browser/browser_process_impl.cc (revision 113173) |
+++ chrome/browser/browser_process_impl.cc (working copy) |
@@ -81,6 +81,7 @@ |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/render_process_host.h" |
#include "content/public/common/url_fetcher.h" |
+#include "media/audio/audio_manager.h" |
#include "net/socket/client_socket_pool_manager.h" |
#include "net/url_request/url_request_context_getter.h" |
#include "ui/base/clipboard/clipboard.h" |
@@ -715,6 +716,14 @@ |
#endif |
} |
+AudioManager* BrowserProcessImpl::audio_manager() { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ if (!audio_manager_.get()) |
scherkus (not reviewing)
2011/12/09 22:47:30
rm .get()
tommi (sloooow) - chröme
2011/12/10 00:11:14
Done.
|
+ audio_manager_ = AudioManager::Create(); |
+ |
+ return audio_manager_.get(); |
+} |
+ |
void BrowserProcessImpl::CreateResourceDispatcherHost() { |
DCHECK(!created_resource_dispatcher_host_ && |
resource_dispatcher_host_.get() == NULL); |