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

Unified Diff: content/browser/resource_context.h

Issue 8818012: Remove the AudioManager singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Set svn eol properties for a couple of files Created 9 years 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/renderer_host/render_process_host_impl.cc ('k') | content/browser/resource_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resource_context.h
===================================================================
--- content/browser/resource_context.h (revision 114012)
+++ content/browser/resource_context.h (working copy)
@@ -12,6 +12,7 @@
#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
+class AudioManager;
class ChromeAppCacheService;
class ChromeBlobStorageContext;
class DownloadIdFactory;
@@ -83,6 +84,9 @@
void set_media_stream_manager(
media_stream::MediaStreamManager* media_stream_manager);
+ AudioManager* audio_manager() const;
+ void set_audio_manager(AudioManager* audio_manager);
+
protected:
ResourceContext();
@@ -100,6 +104,7 @@
MediaObserver* media_observer_;
DownloadIdFactory* download_id_factory_;
media_stream::MediaStreamManager* media_stream_manager_;
+ AudioManager* audio_manager_;
// Externally-defined data accessible by key.
typedef std::map<const void*, void*> UserDataMap;
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/resource_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698