Index: content/browser/service_worker/service_worker_register_job_base.h |
diff --git a/content/browser/service_worker/service_worker_register_job_base.h b/content/browser/service_worker/service_worker_register_job_base.h |
index f292ee36a1eeb4e0a74ab6e95582ffa675c07d79..7995adda7c68294f9cf53bef9ed5b01264149831 100644 |
--- a/content/browser/service_worker/service_worker_register_job_base.h |
+++ b/content/browser/service_worker/service_worker_register_job_base.h |
@@ -18,6 +18,10 @@ class ServiceWorkerRegisterJobBase { |
// Starts the job. This method should be called once and only once per job. |
virtual void Start() = 0; |
+ // Aborts the job. This method should be called once and only once per job. |
+ // It can be called regardless of whether Start() was called. |
+ virtual void Abort() = 0; |
+ |
// Returns true if this job is identical to |job| for the purpose of |
// collapsing them together in a ServiceWorkerJobCoordinator queue. |
// Registration jobs are equal if they are for the same pattern and script |