diff options
Diffstat (limited to 'content/browser/mojo')
-rw-r--r-- | content/browser/mojo/mojo_application_host.cc | 4 | ||||
-rw-r--r-- | content/browser/mojo/mojo_application_host.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/mojo/mojo_application_host.cc b/content/browser/mojo/mojo_application_host.cc index 2491252..3af7974 100644 --- a/content/browser/mojo/mojo_application_host.cc +++ b/content/browser/mojo/mojo_application_host.cc @@ -59,4 +59,8 @@ bool MojoApplicationHost::Activate(IPC::Sender* sender, return did_activate_; } +void MojoApplicationHost::WillDestroySoon() { + channel_init_.WillDestroySoon(); +} + } // namespace content diff --git a/content/browser/mojo/mojo_application_host.h b/content/browser/mojo/mojo_application_host.h index ae57104..27a43f8 100644 --- a/content/browser/mojo/mojo_application_host.h +++ b/content/browser/mojo/mojo_application_host.h @@ -32,6 +32,8 @@ class MojoApplicationHost { bool Init(); bool Activate(IPC::Sender* sender, base::ProcessHandle process_handle); + void WillDestroySoon(); + bool did_activate() const { return did_activate_; } ServiceRegistry* service_registry() { return &service_registry_; } |