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

Unified Diff: services/shell/public/cpp/lib/connection_impl.h

Issue 2075003002: Separate Remote InterfaceProvider again, and add a new client lib type for it. (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 | « services/shell/public/cpp/interface_registry.h ('k') | services/shell/public/cpp/lib/connection_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/lib/connection_impl.h
diff --git a/services/shell/public/cpp/lib/connection_impl.h b/services/shell/public/cpp/lib/connection_impl.h
index b0ec989d58885c0c044086b1b78ffbae88328160..9710960ec7ecbad60fe0309edb9d184c8a81634f 100644
--- a/services/shell/public/cpp/lib/connection_impl.h
+++ b/services/shell/public/cpp/lib/connection_impl.h
@@ -51,7 +51,9 @@ class ConnectionImpl : public Connection {
uint32_t GetRemoteInstanceID() const override;
void AddConnectionCompletedClosure(const mojo::Closure& callback) override;
bool AllowsInterface(const std::string& interface_name) const override;
+ mojom::InterfaceProvider* GetRemoteInterfaceProvider() override;
InterfaceRegistry* GetInterfaceRegistry() override;
+ RemoteInterfaceRegistry* GetRemoteInterfaceRegistry() override;
base::WeakPtr<Connection> GetWeakPtr() override;
void OnConnectionCompleted(shell::mojom::ConnectResult result,
@@ -67,6 +69,7 @@ class ConnectionImpl : public Connection {
std::vector<mojo::Closure> connection_completed_callbacks_;
InterfaceRegistry interfaces_;
+ RemoteInterfaceRegistry remote_interfaces_;
const CapabilityRequest capability_request_;
const bool allow_all_interfaces_;
« no previous file with comments | « services/shell/public/cpp/interface_registry.h ('k') | services/shell/public/cpp/lib/connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698