NoStatePrefetch: Remove mojom::PrerenderMode from PrerenderURLLoaderThrottle
PrerenderURLLoaderThrottle::mode_ is always mojom::PrerenderMode::kPrefetchOnly, so the field is not necessary. Even after this change, the constructor of PrerenderURLLoaderThrottle still takes the mode as an argument just for validation check. This will be removed by follow-up CLs that remove the mode from callers of the constructor. Bug: 755921 Change-Id: I72c5cb9ca3c1d03e9316fbf60aa067d3bff02cbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2592237Reviewed-by:Matt Falkenhagen <falken@chromium.org> Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#837099}
Showing
Please register or sign in to comment