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

Unified Diff: mash/example/window_type_launcher/main.cc

Issue 1801963002: Change primordial pipes to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase onto catalog CL Created 4 years, 9 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 | « mash/example/window_type_launcher/BUILD.gn ('k') | mash/wm/window_manager_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/example/window_type_launcher/main.cc
diff --git a/mash/example/window_type_launcher/main.cc b/mash/example/window_type_launcher/main.cc
index e0e178d969744d468fdbd8d17ca0341fc46a654a..28750b7f8a348a46e6cc70a6e4ba10d01f736890 100644
--- a/mash/example/window_type_launcher/main.cc
+++ b/mash/example/window_type_launcher/main.cc
@@ -18,7 +18,7 @@
#include "mojo/edk/embedder/process_delegate.h"
#include "mojo/shell/public/cpp/shell_connection.h"
#include "mojo/shell/public/interfaces/shell_client.mojom.h"
-#include "mojo/shell/runner/child/runner_connection.h"
+#include "mojo/shell/runner/common/client_util.h"
#include "mojo/shell/runner/init.h"
namespace {
@@ -63,9 +63,8 @@ int main(int argc, char** argv) {
base::MessageLoop loop;
WindowTypeLauncher delegate;
- mojo::ShellConnection impl(&delegate);
- scoped_ptr<mojo::shell::RunnerConnection> connection =
- mojo::shell::RunnerConnection::Create(&impl);
+ mojo::ShellConnection impl(
+ &delegate, mojo::shell::GetShellClientRequestFromCommandLine());
loop.Run();
mojo::edk::ShutdownIPCSupport();
« no previous file with comments | « mash/example/window_type_launcher/BUILD.gn ('k') | mash/wm/window_manager_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698