Index: content/browser/mojo/mojo_application_host.h |
diff --git a/content/browser/mojo/mojo_application_host.h b/content/browser/mojo/mojo_application_host.h |
index 238525d6e43946aeb2ad4e6fdf1f4e7a3a606b79..27a43f89c2dcd0db5c3df11a8d22fa046a3609c4 100644 |
--- a/content/browser/mojo/mojo_application_host.h |
+++ b/content/browser/mojo/mojo_application_host.h |
@@ -30,10 +30,12 @@ class MojoApplicationHost { |
// 1- Init makes service_registry() available synchronously. |
// 2- Activate establishes the actual connection to the peer process. |
bool Init(); |
- void Activate(IPC::Sender* sender, base::ProcessHandle process_handle); |
+ bool Activate(IPC::Sender* sender, base::ProcessHandle process_handle); |
void WillDestroySoon(); |
+ bool did_activate() const { return did_activate_; } |
+ |
ServiceRegistry* service_registry() { return &service_registry_; } |
private: |