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

Unified Diff: mojo/shell/runner/host/native_application_support.h

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.h
diff --git a/mojo/shell/runner/host/native_application_support.h b/mojo/shell/runner/host/native_application_support.h
index 88daad347a05adbd9ade11b92c1ac7e0066cf5e9..2371f65190296a8c04d6a534a2a1d034c6339de0 100644
--- a/mojo/shell/runner/host/native_application_support.h
+++ b/mojo/shell/runner/host/native_application_support.h
@@ -7,7 +7,7 @@
#include "base/native_library.h"
#include "mojo/public/cpp/bindings/interface_request.h"
-#include "mojo/shell/public/interfaces/application.mojom.h"
+#include "mojo/shell/public/interfaces/shell_client.mojom.h"
namespace base {
class FilePath;
@@ -33,9 +33,8 @@ base::NativeLibrary LoadNativeApplication(const base::FilePath& app_path);
// true if |MojoMain()| was called (even if it returns an error), and false
// otherwise.
// TODO(vtl): Maybe this should also have a |MojoResult| as an out parameter?
-bool RunNativeApplication(
- base::NativeLibrary app_library,
- InterfaceRequest<mojom::Application> application_request);
+bool RunNativeApplication(base::NativeLibrary app_library,
+ InterfaceRequest<mojom::ShellClient> request);
} // namespace shell
} // namespace mojo
« no previous file with comments | « mojo/shell/runner/host/in_process_native_runner.cc ('k') | mojo/shell/runner/host/native_application_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698