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

Unified Diff: mojo/shell/tests/util.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 | « mojo/shell/tests/shell/driver.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/tests/util.cc
diff --git a/mojo/shell/tests/util.cc b/mojo/shell/tests/util.cc
index d57d311d07a8c0574fe5d245799a3cddec5d1589..8326ebe3ab17682583ec50b303953022851f4bdf 100644
--- a/mojo/shell/tests/util.cc
+++ b/mojo/shell/tests/util.cc
@@ -66,13 +66,13 @@ scoped_ptr<Connection> LaunchAndConnectToProcess(
mojo::ScopedMessagePipeHandle pipe =
mojo::edk::CreateParentMessagePipe(primordial_pipe_token);
- mojo::shell::mojom::ShellClientFactoryPtr factory;
- factory.Bind(mojo::InterfacePtrInfo<mojo::shell::mojom::ShellClientFactory>(
+ mojo::shell::mojom::ShellClientPtr client;
+ client.Bind(mojo::InterfacePtrInfo<mojo::shell::mojom::ShellClient>(
std::move(pipe), 0u));
mojo::shell::mojom::PIDReceiverPtr receiver;
mojo::Connector::ConnectParams params(target);
- params.set_client_process_connection(std::move(factory), GetProxy(&receiver));
+ params.set_client_process_connection(std::move(client), GetProxy(&receiver));
scoped_ptr<mojo::Connection> connection = connector->Connect(&params);
{
base::RunLoop loop;
« no previous file with comments | « mojo/shell/tests/shell/driver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698