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

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

Issue 2209943002: Eliminate outgoing InterfaceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tracing
Patch Set: . Created 4 years, 4 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_registry.h
diff --git a/services/shell/public/cpp/interface_registry.h b/services/shell/public/cpp/interface_registry.h
index 6ac149bf197e08f26e7ab7e5596f6bf0985bf340..ab62a8c154c1e405bc6f99881c42789859bad26f 100644
--- a/services/shell/public/cpp/interface_registry.h
+++ b/services/shell/public/cpp/interface_registry.h
@@ -127,6 +127,9 @@ class InterfaceRegistry : public mojom::InterfaceProvider {
// Populates a set with the interface names this registry can bind.
void GetInterfaceNames(std::set<std::string>* interface_names);
+ // Sets a closure to be run when the InterfaceProvider pipe is closed.
+ void SetConnectionLostClosure(const base::Closure& connection_lost_closure);
+
private:
using NameToInterfaceBinderMap =
std::map<std::string, std::unique_ptr<InterfaceBinder>>;
« 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