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

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

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 190ffcc2a01770f86b76dfc19708e44a114b7c43..63d386d00ff472562b883f64a1cf122a90b038fd 100644
--- a/content/browser/frame_host/frame_mojo_shell.h
+++ b/content/browser/frame_host/frame_mojo_shell.h
@@ -17,35 +17,34 @@ namespace content {
class RenderFrameHost;
class ServiceRegistryImpl;
-// This provides the |mojo::shell::mojom::Shell| service interface to each
+// This provides the |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::Connector {
+class FrameMojoShell : public shell::mojom::Connector {
public:
explicit FrameMojoShell(RenderFrameHost* frame_host);
~FrameMojoShell() override;
- void BindRequest(mojo::shell::mojom::ConnectorRequest request);
+ void BindRequest(shell::mojom::ConnectorRequest request);
private:
- // mojo::Connector:
+ // shell::Connector:
void Connect(
- mojo::shell::mojom::IdentityPtr target,
- mojo::shell::mojom::InterfaceProviderRequest services,
- mojo::shell::mojom::InterfaceProviderPtr exposed_services,
- mojo::shell::mojom::ClientProcessConnectionPtr client_process_connection,
- const mojo::shell::mojom::Connector::ConnectCallback& callback) override;
- void Clone(mojo::shell::mojom::ConnectorRequest request) override;
+ shell::mojom::IdentityPtr target,
+ shell::mojom::InterfaceProviderRequest services,
+ shell::mojom::InterfaceProviderPtr exposed_services,
+ shell::mojom::ClientProcessConnectionPtr client_process_connection,
+ const shell::mojom::Connector::ConnectCallback& callback) override;
+ void Clone(shell::mojom::ConnectorRequest request) override;
ServiceRegistryImpl* GetServiceRegistry();
RenderFrameHost* frame_host_;
- mojo::BindingSet<mojo::shell::mojom::Connector> connectors_;
+ mojo::BindingSet<shell::mojom::Connector> connectors_;
// ServiceRegistry providing browser services to connected applications.
std::unique_ptr<ServiceRegistryImpl> service_registry_;
- mojo::BindingSet<mojo::shell::mojom::InterfaceProvider>
- service_provider_bindings_;
+ mojo::BindingSet<shell::mojom::InterfaceProvider> service_provider_bindings_;
DISALLOW_COPY_AND_ASSIGN(FrameMojoShell);
};
« no previous file with comments | « content/browser/dom_storage/dom_storage_context_wrapper.cc ('k') | content/browser/frame_host/frame_mojo_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698