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

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

Issue 1736663003: Eliminate Quit() from Shell, and roll Shell & Connector together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@14cf
Patch Set: . Created 4 years, 10 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 | « no previous file | content/browser/frame_host/frame_mojo_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9893ae2fa51bfd473880de0e6fd3854452bc6a0f..2d9a9a79e54346f8fcbe24fc22f5b894dc61e723 100644
--- a/content/browser/frame_host/frame_mojo_shell.h
+++ b/content/browser/frame_host/frame_mojo_shell.h
@@ -19,20 +19,14 @@ class ServiceRegistryImpl;
// This provides the |mojo::shell::mojom::Shell| service interface to each
// frame's ServiceRegistry, giving frames the ability to connect to Mojo
// applications.
-class FrameMojoShell : public mojo::shell::mojom::Shell,
- public mojo::shell::mojom::Connector {
+class FrameMojoShell : public mojo::shell::mojom::Connector {
public:
explicit FrameMojoShell(RenderFrameHost* frame_host);
~FrameMojoShell() override;
- void BindRequest(
- mojo::InterfaceRequest<mojo::shell::mojom::Shell> shell_request);
+ void BindRequest(mojo::shell::mojom::ConnectorRequest request);
private:
- // mojo::Shell:
- void GetConnector(mojo::shell::mojom::ConnectorRequest request) override;
- void QuitApplication() override;
-
// mojo::Connector:
void Connect(
const mojo::String& application_url,
@@ -45,7 +39,6 @@ class FrameMojoShell : public mojo::shell::mojom::Shell,
ServiceRegistryImpl* GetServiceRegistry();
RenderFrameHost* frame_host_;
- mojo::BindingSet<mojo::shell::mojom::Shell> bindings_;
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698