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

Unified Diff: mojo/shell/runner/host/in_process_native_runner.cc

Issue 1761153002: Replace ChildController with ShellClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@29binding
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
Index: mojo/shell/runner/host/in_process_native_runner.cc
diff --git a/mojo/shell/runner/host/in_process_native_runner.cc b/mojo/shell/runner/host/in_process_native_runner.cc
index 9cd89dbdf737b704581d5d16f59f51919ecd9879..3c3b1be91bb46e2b6f81a5d0dbcc34621da7f8f9 100644
--- a/mojo/shell/runner/host/in_process_native_runner.cc
+++ b/mojo/shell/runner/host/in_process_native_runner.cc
@@ -37,7 +37,7 @@ void InProcessNativeRunner::Start(
const base::FilePath& app_path,
const Identity& target,
bool start_sandboxed,
- InterfaceRequest<mojom::ShellClient> request,
+ mojom::ShellClientRequest request,
const base::Callback<void(base::ProcessId)>& pid_available_callback,
const base::Closure& app_completed_callback) {
app_path_ = app_path;
@@ -60,9 +60,9 @@ void InProcessNativeRunner::Start(
pid_available_callback.Run(base::kNullProcessId);
}
-void InProcessNativeRunner::InitHost(
- ScopedHandle channel,
- InterfaceRequest<mojom::ShellClient> request) {
+void InProcessNativeRunner::InitHost(mojom::ShellClientFactoryPtr factory,
+ const String& name,
+ mojom::ShellClientRequest request) {
NOTREACHED(); // Can't host another process in this runner.
}
« no previous file with comments | « mojo/shell/runner/host/in_process_native_runner.h ('k') | mojo/shell/runner/host/out_of_process_native_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698