Commit f1bf890a authored by Matt Falkenhagen's avatar Matt Falkenhagen Committed by Commit Bot

service worker/navigation: Fix pre-PlzNavigate comment about provider id.

The comment is obsolete. "current architecture" meant pre-PlzNavigate.

Bug: 789577
Change-Id: Ib53714275a7f54503e415f3a1986cb2f498dd37d
Reviewed-on: https://chromium-review.googlesource.com/1156184
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: default avatarCamille Lamy <clamy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579708}
parent 668642c3
...@@ -279,7 +279,6 @@ struct CONTENT_EXPORT RequestNavigationParams { ...@@ -279,7 +279,6 @@ struct CONTENT_EXPORT RequestNavigationParams {
// navigation commits. // navigation commits.
bool should_clear_history_list = false; bool should_clear_history_list = false;
// PlzNavigate
// Whether a ServiceWorkerProviderHost should be created for the window. // Whether a ServiceWorkerProviderHost should be created for the window.
bool should_create_service_worker = false; bool should_create_service_worker = false;
...@@ -287,11 +286,8 @@ struct CONTENT_EXPORT RequestNavigationParams { ...@@ -287,11 +286,8 @@ struct CONTENT_EXPORT RequestNavigationParams {
// Timing of navigation events. // Timing of navigation events.
NavigationTiming navigation_timing; NavigationTiming navigation_timing;
// PlzNavigate
// The ServiceWorkerProviderHost ID used for navigations, if it was already // The ServiceWorkerProviderHost ID used for navigations, if it was already
// created by the browser. Set to kInvalidServiceWorkerProviderId otherwise. // 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 = kInvalidServiceWorkerProviderId; int service_worker_provider_id = kInvalidServiceWorkerProviderId;
// PlzNavigate // PlzNavigate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment