| Index: mojo/public/cpp/application/application_impl.h
|
| diff --git a/mojo/public/cpp/application/application_impl.h b/mojo/public/cpp/application/application_impl.h
|
| index 8f7a84295bc079bfc543a3f646b27ba4aa3cffab..295eb6219e36ffcf5ca68de8ebf6e017c20442a8 100644
|
| --- a/mojo/public/cpp/application/application_impl.h
|
| +++ b/mojo/public/cpp/application/application_impl.h
|
| @@ -58,7 +58,7 @@ class ApplicationDelegate;
|
| // BarImpl(ApplicationContext* app_context, BarContext* service_context)
|
| // : app_context_(app_context), servicecontext_(context) {}
|
| //
|
| -// Create an ApplicationDele instance that collects any service implementations.
|
| +// Create an ApplicationImpl instance that collects any service implementations.
|
| //
|
| // ApplicationImpl app(service_provider_handle);
|
| // app.AddService<FooImpl>();
|
| @@ -92,10 +92,15 @@ class ApplicationImpl : public InterfaceImpl<Application> {
|
|
|
| void BindShell(ScopedMessagePipeHandle shell_handle);
|
| void BindShell(MojoHandle shell_handle);
|
| + void ClearConnections();
|
| +
|
| + // Quits the main run loop for this application.
|
| + void TerminateImpl();
|
|
|
| // Application implementation.
|
| virtual void AcceptConnection(const String& requestor_url,
|
| ServiceProviderPtr provider) MOJO_OVERRIDE;
|
| + virtual void Terminate() MOJO_OVERRIDE;
|
|
|
| typedef std::vector<internal::ServiceRegistry*> ServiceRegistryList;
|
| ServiceRegistryList incoming_service_registries_;
|
|
|