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

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

Issue 2090773003: Add ability to bind a different InterfaceRegistry/InterfaceProvider to an incoming Connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | « content/renderer/render_frame_impl.cc ('k') | services/shell/public/cpp/interface_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/connector.h
diff --git a/services/shell/public/cpp/connector.h b/services/shell/public/cpp/connector.h
index 6e40590b9a39933b9e9e4082e08969681a4bc269..f862d262aac34edf019426cad10923b85ccb3d4b 100644
--- a/services/shell/public/cpp/connector.h
+++ b/services/shell/public/cpp/connector.h
@@ -53,11 +53,21 @@ class Connector {
*shell_client = std::move(shell_client_);
*pid_receiver_request = std::move(pid_receiver_request_);
}
+ InterfaceRegistry* exposed_interfaces() { return exposed_interfaces_; }
+ void set_exposed_interfaces(InterfaceRegistry* exposed_interfaces) {
+ exposed_interfaces_ = exposed_interfaces;
+ }
+ InterfaceProvider* remote_interfaces() { return remote_interfaces_; }
+ void set_remote_interfaces(InterfaceProvider* remote_interfaces) {
+ remote_interfaces_ = remote_interfaces;
+ }
private:
Identity target_;
mojom::ShellClientPtr shell_client_;
mojom::PIDReceiverRequest pid_receiver_request_;
+ InterfaceRegistry* exposed_interfaces_ = nullptr;
+ InterfaceProvider* remote_interfaces_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(ConnectParams);
};
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | services/shell/public/cpp/interface_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698