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

Unified Diff: mojo/shell/runner/host/native_application_support.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
Index: mojo/shell/runner/host/native_application_support.cc
diff --git a/mojo/shell/runner/host/native_application_support.cc b/mojo/shell/runner/host/native_application_support.cc
index eeccef913ee5987162f78479f8e836e9c6d9a93d..97288fa1e6ecc92d0ecb4d5b7bce276222f6d37e 100644
--- a/mojo/shell/runner/host/native_application_support.cc
+++ b/mojo/shell/runner/host/native_application_support.cc
@@ -54,7 +54,7 @@ base::NativeLibrary LoadNativeApplication(const base::FilePath& app_path) {
bool RunNativeApplication(
base::NativeLibrary app_library,
- InterfaceRequest<mojom::Application> application_request) {
+ InterfaceRequest<mojom::ShellClient> request) {
// Tolerate |app_library| being null, to make life easier for callers.
if (!app_library)
return false;
@@ -120,7 +120,7 @@ bool RunNativeApplication(
return false;
}
// |MojoMain()| takes ownership of the service handle.
- MojoHandle handle = application_request.PassMessagePipe().release().value();
+ MojoHandle handle = request.PassMessagePipe().release().value();
MojoResult result = main_function(handle);
if (result != MOJO_RESULT_OK) {
LOG(ERROR) << "MojoMain returned error (result: " << result << ")";
« no previous file with comments | « mojo/shell/runner/host/native_application_support.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