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

Unified Diff: mojo/shell/native_runner.h

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
« no previous file with comments | « mojo/shell/application_manager.cc ('k') | mojo/shell/public/cpp/names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/native_runner.h
diff --git a/mojo/shell/native_runner.h b/mojo/shell/native_runner.h
index ff312d2559420b212671d83c817d2dcc012ff442..cbb984b7025b14987ec88ac5fffc54292cdedf2f 100644
--- a/mojo/shell/native_runner.h
+++ b/mojo/shell/native_runner.h
@@ -10,6 +10,7 @@
#include "base/process/process_handle.h"
#include "mojo/public/cpp/bindings/interface_request.h"
#include "mojo/shell/public/interfaces/shell_client.mojom.h"
+#include "mojo/shell/public/interfaces/shell_client_factory.mojom.h"
namespace base {
class FilePath;
@@ -37,9 +38,10 @@ class NativeRunner {
const base::Closure& app_completed_callback) = 0;
// Like Start(), but used to initialize the host for a child process started
- // by someone else. Provides |request| via |channel|.
- virtual void InitHost(ScopedHandle channel,
- InterfaceRequest<mojom::ShellClient> request) = 0;
+ // by someone else. Provides |request| via |factory|.
+ virtual void InitHost(mojom::ShellClientFactoryPtr factory,
+ const String& name,
+ mojom::ShellClientRequest request) = 0;
};
class NativeRunnerFactory {
« no previous file with comments | « mojo/shell/application_manager.cc ('k') | mojo/shell/public/cpp/names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698