| Index: content/child/service_worker/web_service_worker_registration_impl.h
|
| diff --git a/content/child/service_worker/web_service_worker_registration_impl.h b/content/child/service_worker/web_service_worker_registration_impl.h
|
| index 1fd65ddbf63ffc812aa12d3566fffaefe2c74234..c2d574a9cc17c5c44a7de043f15554eeee594fd9 100644
|
| --- a/content/child/service_worker/web_service_worker_registration_impl.h
|
| +++ b/content/child/service_worker/web_service_worker_registration_impl.h
|
| @@ -8,21 +8,36 @@
|
| #include "base/compiler_specific.h"
|
| #include "third_party/WebKit/public/platform/WebServiceWorkerRegistration.h"
|
|
|
| +namespace blink {
|
| +class WebServiceWorker;
|
| +class WebServiceWorkerRegistrationProxy;
|
| +}
|
| +
|
| namespace content {
|
|
|
| +class ServiceWorkerRegistrationHandleReference;
|
| +class ThreadSafeSender;
|
| struct ServiceWorkerObjectInfo;
|
|
|
| class WebServiceWorkerRegistrationImpl
|
| : NON_EXPORTED_BASE(public blink::WebServiceWorkerRegistration) {
|
| public:
|
| explicit WebServiceWorkerRegistrationImpl(
|
| - const ServiceWorkerObjectInfo& info);
|
| + scoped_ptr<ServiceWorkerRegistrationHandleReference> handle_ref);
|
| virtual ~WebServiceWorkerRegistrationImpl();
|
|
|
| + void OnUpdateFound();
|
| +
|
| + virtual void setProxy(blink::WebServiceWorkerRegistrationProxy* proxy);
|
| + virtual void setInstalling(blink::WebServiceWorker* service_worker);
|
| + virtual void setWaiting(blink::WebServiceWorker* service_worker);
|
| + virtual void setActive(blink::WebServiceWorker* service_worker);
|
| +
|
| virtual blink::WebURL scope() const;
|
|
|
| private:
|
| - const GURL scope_;
|
| + scoped_ptr<ServiceWorkerRegistrationHandleReference> handle_ref_;
|
| + blink::WebServiceWorkerRegistrationProxy* proxy_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerRegistrationImpl);
|
| };
|
|
|