Index: content/common/navigation_params.h |
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h |
index 8093623e59a53b8423a23f21a2d91f88905a399b..cf3d89a2cbb2fb9473b23918cecb02e030a3d161 100644 |
--- a/content/common/navigation_params.h |
+++ b/content/common/navigation_params.h |
@@ -285,10 +285,14 @@ struct CONTENT_EXPORT RequestNavigationParams { |
bool should_clear_history_list; |
// PlzNavigate |
- // The ServiceWorkerProviderHost ID used for navigations. |
- // Set to kInvalidServiceWorkerProviderId for sandboxed frames and sync loads. |
- // This parameter is not used in the current navigation architecture, where it |
- // will always be equal to kInvalidServiceWorkerProviderId. |
+ // Whether a ServiceWorkerProviderHost should be created for the window. |
+ bool should_create_service_worker; |
+ |
+ // PlzNavigate |
+ // The ServiceWorkerProviderHost ID used for navigations, if it was already |
+ // created by the browser. Set to kInvalidServiceWorkerProviderId otherwise. |
+ // This parameter is not used in the current navigation architecture, where |
+ // it will always be equal to kInvalidServiceWorkerProviderId. |
int service_worker_provider_id; |
}; |