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

Unified Diff: content/browser/frame_host/frame_mojo_shell.h

Issue 1838903007: media: Add mojo MediaPermission service Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/frame_host/frame_mojo_shell.h
diff --git a/content/browser/frame_host/frame_mojo_shell.h b/content/browser/frame_host/frame_mojo_shell.h
index 893ade427f448f7c563f98e228e3e92e8d0128ed..fb8833c4ad021f1b22ca2e1fdc892d87ef7fd64f 100644
--- a/content/browser/frame_host/frame_mojo_shell.h
+++ b/content/browser/frame_host/frame_mojo_shell.h
@@ -13,6 +13,7 @@
namespace content {
+class PermissionServiceContext;
class RenderFrameHost;
class ServiceRegistryImpl;
@@ -21,7 +22,8 @@ class ServiceRegistryImpl;
// applications.
class FrameMojoShell : public mojo::shell::mojom::Connector {
public:
- explicit FrameMojoShell(RenderFrameHost* frame_host);
+ FrameMojoShell(RenderFrameHost* frame_host,
+ PermissionServiceContext* permission_service_context);
~FrameMojoShell() override;
void BindRequest(mojo::shell::mojom::ConnectorRequest request);
@@ -39,6 +41,8 @@ class FrameMojoShell : public mojo::shell::mojom::Connector {
ServiceRegistryImpl* GetServiceRegistry();
RenderFrameHost* frame_host_;
+ PermissionServiceContext* permission_service_context_;
+
mojo::BindingSet<mojo::shell::mojom::Connector> connectors_;
// ServiceRegistry providing browser services to connected applications.
« no previous file with comments | « no previous file | content/browser/frame_host/frame_mojo_shell.cc » ('j') | content/browser/media/media_permission_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698