Index: content/browser/service_worker/service_worker_context_core.h |
diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h |
index 967c2143881f6c74e42d68dbca7dbd7e643369ce..7bcca45dac3363bb6fe69a96cdef23a6024f4e13 100644 |
--- a/content/browser/service_worker/service_worker_context_core.h |
+++ b/content/browser/service_worker/service_worker_context_core.h |
@@ -74,14 +74,20 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
void RemoveAllProviderHostsForProcess(int process_id); |
// The callback will be called on the IO thread. |
+ // A child process of |source_process_id| may be used to run the created |
+ // worker for initial installation. |
+ // Non-null |provider_host| must be given if this is called from a document, |
+ // whose process_id() must match with |source_process_id|. |
void RegisterServiceWorker(const GURL& pattern, |
const GURL& script_url, |
int source_process_id, |
+ ServiceWorkerProviderHost* provider_host, |
const RegistrationCallback& callback); |
// The callback will be called on the IO thread. |
void UnregisterServiceWorker(const GURL& pattern, |
int source_process_id, |
+ ServiceWorkerProviderHost* provider_host, |
const UnregistrationCallback& callback); |
// This class maintains collections of live instances, this class |