Chromium Code Reviews| 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..39babaa197e3dd02c8e1aa5374c79e2c4514b923 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 navigationa architecture, where |
|
clamy
2015/10/07 07:53:30
nit: s/navigationa/navigation
Fabrice (no longer in Chrome)
2015/10/07 12:59:43
Donea.
|
| + // it will always be kInvalidServiceWorkerProviderId. |
| + int service_worker_provider_id_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
| }; |