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

Unified Diff: mojo/shell/public/cpp/connector.h

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/public/cpp/application_runner.h ('k') | mojo/shell/public/cpp/lib/application_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/connector.h
diff --git a/mojo/shell/public/cpp/connector.h b/mojo/shell/public/cpp/connector.h
index 73a6ef48a99a703537fd100b52e8d92432b1e512..b6155350f052da89af3abc3b9e70db32eae32a50 100644
--- a/mojo/shell/public/cpp/connector.h
+++ b/mojo/shell/public/cpp/connector.h
@@ -9,7 +9,7 @@
#include "mojo/shell/public/cpp/identity.h"
#include "mojo/shell/public/interfaces/connector.mojom.h"
#include "mojo/shell/public/interfaces/shell.mojom.h"
-#include "mojo/shell/public/interfaces/shell_client_factory.mojom.h"
+#include "mojo/shell/public/interfaces/shell_client.mojom.h"
namespace mojo {
@@ -40,21 +40,21 @@ class Connector {
const Identity& target() { return target_; }
void set_target(const Identity& target) { target_ = target; }
void set_client_process_connection(
- shell::mojom::ShellClientFactoryPtr shell_client_factory,
+ shell::mojom::ShellClientPtr shell_client,
shell::mojom::PIDReceiverRequest pid_receiver_request) {
- shell_client_factory_ = std::move(shell_client_factory);
+ shell_client_ = std::move(shell_client);
pid_receiver_request_ = std::move(pid_receiver_request);
}
void TakeClientProcessConnection(
- shell::mojom::ShellClientFactoryPtr* shell_client_factory,
+ shell::mojom::ShellClientPtr* shell_client,
shell::mojom::PIDReceiverRequest* pid_receiver_request) {
- *shell_client_factory = std::move(shell_client_factory_);
+ *shell_client = std::move(shell_client_);
*pid_receiver_request = std::move(pid_receiver_request_);
}
private:
Identity target_;
- shell::mojom::ShellClientFactoryPtr shell_client_factory_;
+ shell::mojom::ShellClientPtr shell_client_;
shell::mojom::PIDReceiverRequest pid_receiver_request_;
DISALLOW_COPY_AND_ASSIGN(ConnectParams);
« no previous file with comments | « mojo/shell/public/cpp/application_runner.h ('k') | mojo/shell/public/cpp/lib/application_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698