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

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

Issue 1675153002: ApplicationImpl->ShellConnection, mojom::Application->mojom::ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ci2
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/runner/child/test_native_main.cc ('k') | mojo/shell/runner/host/child_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/runner/host/child_process.cc
diff --git a/mojo/shell/runner/host/child_process.cc b/mojo/shell/runner/host/child_process.cc
index 1d9228c8e7dc976ab9fb81c88f1537a623cce86f..0208b8408c0ba77a5eccf3081020840afb388109 100644
--- a/mojo/shell/runner/host/child_process.cc
+++ b/mojo/shell/runner/host/child_process.cc
@@ -235,14 +235,14 @@ class ChildControllerImpl : public mojom::ChildController {
}
// |ChildController| methods:
- void StartApp(InterfaceRequest<mojom::Application> application_request,
+ void StartApp(InterfaceRequest<mojom::ShellClient> request,
const StartAppCallback& on_app_complete) override {
DCHECK(thread_checker_.CalledOnValidThread());
on_app_complete_ = on_app_complete;
unblocker_.Unblock(base::Bind(&ChildControllerImpl::StartAppOnMainThread,
base::Unretained(app_library_),
- base::Passed(&application_request)));
+ base::Passed(&request)));
}
void ExitNow(int32_t exit_code) override {
@@ -258,8 +258,8 @@ class ChildControllerImpl : public mojom::ChildController {
static void StartAppOnMainThread(
base::NativeLibrary app_library,
- InterfaceRequest<mojom::Application> application_request) {
- if (!RunNativeApplication(app_library, std::move(application_request))) {
+ InterfaceRequest<mojom::ShellClient> request) {
+ if (!RunNativeApplication(app_library, std::move(request))) {
LOG(ERROR) << "Failure to RunNativeApplication()";
}
}
« no previous file with comments | « mojo/shell/runner/child/test_native_main.cc ('k') | mojo/shell/runner/host/child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698