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

Unified Diff: mojo/service_manager/service_manager.h

Issue 397733003: mojo: kill app_thread before unloading main app library and add tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also service_manager_unittests Created 6 years, 5 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 | « mojo/mojo.gyp ('k') | mojo/service_manager/service_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/service_manager/service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698