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

Unified Diff: services/service_manager/public/cpp/interface_registry.h

Issue 2695803004: Make browser process a singleton service (Closed)
Patch Set: . Created 3 years, 10 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 | « mash/session/session.cc ('k') | services/service_manager/public/cpp/lib/interface_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/service_manager/public/cpp/interface_registry.h
diff --git a/services/service_manager/public/cpp/interface_registry.h b/services/service_manager/public/cpp/interface_registry.h
index e9851f93aa57f95309974f2ea46d9db834e7b929..96e23a764435ec4af7a4b0b0da3534dedfaba639 100644
--- a/services/service_manager/public/cpp/interface_registry.h
+++ b/services/service_manager/public/cpp/interface_registry.h
@@ -165,6 +165,10 @@ class InterfaceRegistry : public mojom::InterfaceProvider {
// have been deleted.
void AddConnectionLostClosure(const base::Closure& connection_lost_closure);
+ // Binds a local interface request.
+ void BindInterface(const std::string& name,
+ mojo::ScopedMessagePipeHandle handle);
+
private:
using InterfaceNameToBinderMap =
std::map<std::string, std::unique_ptr<InterfaceBinder>>;
« no previous file with comments | « mash/session/session.cc ('k') | services/service_manager/public/cpp/lib/interface_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698