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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 9845033: Move the MediaObserver getter from ResourceContext to ContentBrowserClient, since we only need to s… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix dcheck 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
Index: content/browser/renderer_host/render_message_filter.h
===================================================================
--- content/browser/renderer_host/render_message_filter.h (revision 128803)
+++ content/browser/renderer_host/render_message_filter.h (working copy)
@@ -38,6 +38,7 @@
namespace content {
class BrowserContext;
+class MediaObserver;
class ResourceContext;
class ResourceDispatcherHostImpl;
}
@@ -73,7 +74,8 @@
PluginServiceImpl * plugin_service,
content::BrowserContext* browser_context,
net::URLRequestContextGetter* request_context,
- RenderWidgetHelper* render_widget_helper);
+ RenderWidgetHelper* render_widget_helper,
+ content::MediaObserver* media_observer);
// IPC::ChannelProxy::MessageFilter methods:
virtual void OnChannelClosing() OVERRIDE;
@@ -266,6 +268,8 @@
// Used for sampling CPU usage of the renderer process.
scoped_ptr<base::ProcessMetrics> process_metrics_;
+ content::MediaObserver* media_observer_;
+
DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter);
};

Powered by Google App Engine
This is Rietveld 408576698