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

Unified Diff: content/browser/mojo/mojo_shell_client_host.h

Issue 1776513003: Allow client process information to be passed via Connector::Connect(). (Closed) 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
« no previous file with comments | « content/browser/mojo/mojo_child_connection.cc ('k') | content/browser/mojo/mojo_shell_client_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_shell_client_host.h
diff --git a/content/browser/mojo/mojo_shell_client_host.h b/content/browser/mojo/mojo_shell_client_host.h
deleted file mode 100644
index faed0420c26e3694d13bd5d460b1eed9bb6603fd..0000000000000000000000000000000000000000
--- a/content/browser/mojo/mojo_shell_client_host.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_MOJO_MOJO_SHELL_CLIENT_HOST_H_
-#define CONTENT_BROWSER_MOJO_MOJO_SHELL_CLIENT_HOST_H_
-
-#include <string>
-
-#include "base/process/process_handle.h"
-#include "mojo/shell/public/cpp/identity.h"
-#include "mojo/shell/public/interfaces/shell.mojom.h"
-
-namespace content {
-
-class RenderProcessHost;
-
-// Creates a communication channel between the external Mojo shell and the
-// child. The server handle of this channel is shared with the external shell
-// via Mojo IPC. |child_process_id| and |instance_id| are used to uniquify the
-// child in the external shell's instance map.
-//
-// This returns a token that may be passed to the child process and exchanged
-// for a pipe there. That pipe can in turn be passed to
-// MojoShellConnectionImpl::BindToMessagePipe() to initialize the child's
-// shell connection.
-std::string RegisterChildWithExternalShell(
- int child_process_id,
- int instance_id,
- RenderProcessHost* render_process_host);
-
-// Returns the Identity associated with an instance corresponding to the
-// renderer process in shell. This Identity can be passed to Connect() to open a
-// new connection to this renderer.
-mojo::Identity GetMojoIdentity(RenderProcessHost* render_process_host);
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_MOJO_MOJO_SHELL_CLIENT_HOST_H_
« no previous file with comments | « content/browser/mojo/mojo_child_connection.cc ('k') | content/browser/mojo/mojo_shell_client_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698