predictors: Move config check outside MaybeAdd* methods
In the current state we skip preconnect even if prefetch is disabled because the check is inside MaybeAddPrefetch() method. We have prefetch data even if prefetching is disabled because LoadingPredictor uses common LEARNING mode. Bug: 699080 Change-Id: I48aef431bf0771e5c7e74b0b0dd164b77aab493c Reviewed-on: https://chromium-review.googlesource.com/570421Reviewed-by:Benoit L <lizeb@chromium.org> Commit-Queue: Alexandr Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#487431}
Showing
Please register or sign in to comment