| Index: content/browser/frame_host/navigation_handle_impl.h
|
| diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
|
| index 0fdb07d979809f193078c8b1901755d17646ab60..d1c1b1b0adc3fc3297109efc5a09d68f6c8ecf07 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.h
|
| +++ b/content/browser/frame_host/navigation_handle_impl.h
|
| @@ -102,6 +102,11 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| is_transferring_ = is_transferring;
|
| }
|
|
|
| + // PlzNavigate
|
| + void set_service_worker_provider_id(int service_worker_provider_id) {
|
| + service_worker_provider_id_ = service_worker_provider_id;
|
| + }
|
| +
|
| // Called when the URLRequest will start in the network stack.
|
| NavigationThrottle::ThrottleCheckResult WillStartRequest(
|
| bool is_post,
|
| @@ -168,6 +173,13 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| // A list of Throttles registered for this navigation.
|
| ScopedVector<NavigationThrottle> throttles_;
|
|
|
| + // 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 kInvalidServiceWorkerProviderId.
|
| + int service_worker_provider_id_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
|
| };
|
|
|
|
|