| 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 7ec65a8bab223f24e2c3387717eb9b0865176f1c..153203eab46d0617a6bc14a1cd71388567405758 100644
|
| --- a/content/browser/service_worker/service_worker_register_job.h
|
| +++ b/content/browser/service_worker/service_worker_register_job.h
|
| @@ -96,7 +96,8 @@
|
| scoped_refptr<ServiceWorkerVersion> new_version;
|
| };
|
|
|
| - void set_registration(scoped_refptr<ServiceWorkerRegistration> registration);
|
| + void set_registration(
|
| + const scoped_refptr<ServiceWorkerRegistration>& registration);
|
| ServiceWorkerRegistration* registration();
|
| void set_new_version(ServiceWorkerVersion* version);
|
| ServiceWorkerVersion* new_version();
|
| @@ -106,16 +107,16 @@
|
| void StartImpl();
|
| void ContinueWithRegistration(
|
| ServiceWorkerStatusCode status,
|
| - scoped_refptr<ServiceWorkerRegistration> registration);
|
| + const scoped_refptr<ServiceWorkerRegistration>& registration);
|
| void ContinueWithUpdate(
|
| ServiceWorkerStatusCode status,
|
| - scoped_refptr<ServiceWorkerRegistration> registration);
|
| + const scoped_refptr<ServiceWorkerRegistration>& registration);
|
| void RegisterAndContinue();
|
| void ContinueWithUninstallingRegistration(
|
| - scoped_refptr<ServiceWorkerRegistration> existing_registration,
|
| + const scoped_refptr<ServiceWorkerRegistration>& existing_registration,
|
| ServiceWorkerStatusCode status);
|
| void ContinueWithRegistrationForSameScriptUrl(
|
| - scoped_refptr<ServiceWorkerRegistration> existing_registration,
|
| + const scoped_refptr<ServiceWorkerRegistration>& existing_registration,
|
| ServiceWorkerStatusCode status);
|
| void UpdateAndContinue();
|
| void OnStartWorkerFinished(ServiceWorkerStatusCode status);
|
|
|