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

Unified Diff: services/shell/public/cpp/interface_provider.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 | « services/shell/public/cpp/connector.h ('k') | services/shell/public/cpp/lib/connection_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/interface_provider.h
diff --git a/services/shell/public/cpp/interface_provider.h b/services/shell/public/cpp/interface_provider.h
index ccbfbb060fd3502ba5b626a3c19ba35f415b56d0..9924bc068229798cae3a1b9a58e6d597a9ac87e5 100644
--- a/services/shell/public/cpp/interface_provider.h
+++ b/services/shell/public/cpp/interface_provider.h
@@ -38,9 +38,11 @@ class InterfaceProvider {
DISALLOW_COPY_AND_ASSIGN(TestApi);
};
- explicit InterfaceProvider(mojom::InterfaceProviderPtr interface_provider);
+ InterfaceProvider();
~InterfaceProvider();
+ void Bind(mojom::InterfaceProviderPtr interface_provider);
+
// Returns a raw pointer to the remote InterfaceProvider.
mojom::InterfaceProvider* get() { return interface_provider_.get(); }
« no previous file with comments | « services/shell/public/cpp/connector.h ('k') | services/shell/public/cpp/lib/connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698