Index: content/browser/service_worker/service_worker_provider_host.h |
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h |
index d6f1ec8306ebab42e9090dbc9ab9f9b734d61852..4a9f7f60e9381ebdf36d4a64330e95ed07038998 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.h |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -94,6 +94,10 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
// versions. |
bool ValidateVersionForAssociation(ServiceWorkerVersion* version); |
+ // Returns true if the context referred to by this host (i.e. |context_|) is |
+ // still alive. |
+ bool IsAlive(); |
michaeln
2014/06/16 18:41:35
nit: IsContextAlive() might be more clear
nhiroki
2014/06/16 21:43:46
Done.
|
+ |
// Dispatches message event to the document. |
void PostMessage(const base::string16& message, |
const std::vector<int>& sent_message_port_ids); |