Index: mojo/service_manager/service_manager.h |
diff --git a/mojo/service_manager/service_manager.h b/mojo/service_manager/service_manager.h |
index 97c260e225184aaaed98198178c9f741e4c43f17..8809e86715386a84b560d67371f53a5c905f3b16 100644 |
--- a/mojo/service_manager/service_manager.h |
+++ b/mojo/service_manager/service_manager.h |
@@ -81,6 +81,11 @@ class MOJO_SERVICE_MANAGER_EXPORT ServiceManager { |
// Allows to interpose a debugger to service connections. |
void SetInterceptor(Interceptor* interceptor); |
+ // Destroys all Shell-ends of connections established with Applications. |
+ // Applications connected by this ServiceManager will observe pipe errors |
+ // and have a chance to shutdown. |
+ void TerminateShellConnections(); |
+ |
private: |
class ShellImpl; |
typedef std::map<std::string, ServiceLoader*> SchemeToLoaderMap; |