Index: content/browser/service_worker/service_worker_version.h |
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h |
index 5a028f581c6437be2e30e5a6adfe4f321244959b..40324b6fa423b002eb76d1f3751628c42879d7d5 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -280,6 +280,10 @@ class CONTENT_EXPORT ServiceWorkerVersion |
ServiceWorkerScriptCacheMap* script_cache_map() { return &script_cache_map_; } |
EmbeddedWorkerInstance* embedded_worker() { return embedded_worker_.get(); } |
+ // Reports the error message to |listeners_|. |
+ void ReportError(ServiceWorkerStatusCode status, |
+ const std::string& status_message); |
+ |
// Dooms this version to have REDUNDANT status and its resources deleted. If |
// the version is controlling a page, these changes will happen when the |
// version no longer controls any pages. |