| 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 fa7b898226a528c2445a6706bd2088c7d4cc0199..5872478342f91bbbd09a4e500aa5a1b74f4bae99 100644
|
| --- a/services/service_manager/public/cpp/interface_registry.h
|
| +++ b/services/service_manager/public/cpp/interface_registry.h
|
| @@ -150,7 +150,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.
|
| + // Sets a closure to be run when the InterfaceProvider pipe is closed. Note
|
| + // that by the time any added closure is invoked, the InterfaceRegistry may
|
| + // have been deleted.
|
| void AddConnectionLostClosure(const base::Closure& connection_lost_closure);
|
|
|
| private:
|
|
|