Index: content/browser/service_worker/service_worker_register_job.h |
diff --git a/content/browser/service_worker/service_worker_register_job.h b/content/browser/service_worker/service_worker_register_job.h |
index 4fff29b8c55116741e7ab7d668e36ac11c0bd0d2..e679459b9cbda102b03c6903f9972b53186e7cb0 100644 |
--- a/content/browser/service_worker/service_worker_register_job.h |
+++ b/content/browser/service_worker/service_worker_register_job.h |
@@ -14,7 +14,9 @@ |
#include "content/browser/service_worker/embedded_worker_instance.h" |
#include "content/browser/service_worker/service_worker_register_job_base.h" |
#include "content/browser/service_worker/service_worker_registration.h" |
+#include "content/common/service_worker/service_worker_event_dispatcher.mojom.h" |
#include "content/common/service_worker/service_worker_status_code.h" |
+#include "mojo/public/cpp/bindings/associated_binding.h" |
#include "url/gurl.h" |
namespace content { |
@@ -94,6 +96,8 @@ class ServiceWorkerRegisterJob : public ServiceWorkerRegisterJobBase, |
scoped_refptr<ServiceWorkerVersion> new_version; |
}; |
+ class InstallEventMethodsReceiver; |
shimazu
2017/04/24 05:00:13
This is not necessary to be a member of SWRegister
xiaofengzhang
2017/04/25 06:01:29
Done.
|
+ |
void set_registration(scoped_refptr<ServiceWorkerRegistration> registration); |
ServiceWorkerRegistration* registration(); |
void set_new_version(ServiceWorkerVersion* version); |
@@ -121,7 +125,7 @@ class ServiceWorkerRegisterJob : public ServiceWorkerRegisterJobBase, |
void InstallAndContinue(); |
void DispatchInstallEvent(); |
void OnInstallFinished(int request_id, |
- blink::WebServiceWorkerEventResult result, |
+ ServiceWorkerStatusCode status, |
bool has_fetch_handler, |
base::Time dispatch_event_time); |
void OnInstallFailed(ServiceWorkerStatusCode status); |