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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host.h

Issue 9316077: Enable audio/video tag in content_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix content_unittests Created 8 years, 9 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/app/content_main_runner.cc ('k') | content/browser/renderer_host/media/audio_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
index d24dfdbe1487bc932b10491ed2c389f1befa8dfd..53d791ae7250b5b350d5e3f04043bc6929d9bf58 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -178,10 +178,7 @@ class CONTENT_EXPORT AudioRendererHost
// event is received.
AudioEntry* LookupByController(media::AudioOutputController* controller);
- // Return resource_context_->media_observer() or a cached copy thereof.
- // This is necessary because resource_context_ can be destructed before all
- // AudioEntries have been deleted. The MediaObserver's lifetime is tied to
- // that of the IO thread, so this is safe.
+ // Returns the MediaObserver from |resource_context_| or NULL if none exists.
content::MediaObserver* GetMediaObserver();
// A map of stream IDs to audio sources.
@@ -189,7 +186,6 @@ class CONTENT_EXPORT AudioRendererHost
content::ResourceContext* resource_context_;
AudioManager* audio_manager_;
- content::MediaObserver* media_observer_;
DISALLOW_COPY_AND_ASSIGN(AudioRendererHost);
};
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/browser/renderer_host/media/audio_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698