Index: content/browser/service_worker/service_worker_provider_host.h |
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h |
index 9123014273d400004148f897a6ed999799677d5b..1be9086f3f2888b3fcf22bf5afe12e411c05d556 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.h |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -94,6 +94,10 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
void SetTopmostFrameUrl(const GURL& url); |
const GURL& topmost_frame_url() const { return topmost_frame_url_; } |
+ // Starts using the |registration| which means the active worker will |
+ // control this provider. |
+ void UseRegistration(ServiceWorkerRegistration* registration); |
falken
2015/01/28 08:59:49
This is better, but I'm still not a fan of this na
xiang
2015/01/29 02:58:37
You are right, the "use" will confuse people witho
|
+ |
// Associates to |registration| to listen for its version change events. |
falken
2015/01/28 08:59:49
It's not part of your patch, but this class no lon
|
void AssociateRegistration(ServiceWorkerRegistration* registration); |