Deprecate ResourcePrefetchPredictor |
|
Issue descriptionResourcePrefetchPredictor isn't going to be used in the near future. But it shares the code with PreconnectPredictor that is going to be launched. There are at least 2 reasons to do it sooner than later: * Make the preconnect predictor work with the NetworkService. We'll have to remove an observer from the ResourceDispatcherHostDelegate. The plan is to add all information we need to WebContentsObserver and the preconnect predictor requires a subset of all data we collect. So either we add only this subset to WebContentsObserver and resource prefetch predictor will stop working, or we add extra data to WebContentsObserver than we probably will ever need. * Improve the preconnect predictor memory footprint by removing extra information from LoadingDataCollector. For example, the preconnect predictor doesn't need full URLs but we're keeping them in memory for some time because of the prefetch predictor.
,
Mar 14 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7003a957dd2de398d113a37e3023c24ad5e49ee2 commit 7003a957dd2de398d113a37e3023c24ad5e49ee2 Author: Alexandr Ilin <alexilin@chromium.org> Date: Wed Mar 14 09:35:27 2018 predictors: Remove unused fields from URLRequestSummary Many fields of predictors::URLRequestSummary are not used after the ResourcePrefetchPredictor was deprecated. This CL removes obsolete members from the class. Bug: 816545 Change-Id: I405e4a640a23f587691d7cc0ac7a6fa2341e3dbc Reviewed-on: https://chromium-review.googlesource.com/960665 Reviewed-by: Benoit L <lizeb@chromium.org> Commit-Queue: Alexandr Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#543037} [modify] https://crrev.com/7003a957dd2de398d113a37e3023c24ad5e49ee2/chrome/browser/net/loading_predictor_observer.cc [modify] https://crrev.com/7003a957dd2de398d113a37e3023c24ad5e49ee2/chrome/browser/predictors/loading_data_collector.cc [modify] https://crrev.com/7003a957dd2de398d113a37e3023c24ad5e49ee2/chrome/browser/predictors/loading_data_collector.h [modify] https://crrev.com/7003a957dd2de398d113a37e3023c24ad5e49ee2/chrome/browser/predictors/loading_data_collector_unittest.cc [modify] https://crrev.com/7003a957dd2de398d113a37e3023c24ad5e49ee2/chrome/browser/predictors/loading_test_util.cc [modify] https://crrev.com/7003a957dd2de398d113a37e3023c24ad5e49ee2/chrome/browser/predictors/loading_test_util.h [modify] https://crrev.com/7003a957dd2de398d113a37e3023c24ad5e49ee2/chrome/browser/predictors/resource_prefetch_predictor_tab_helper.cc [modify] https://crrev.com/7003a957dd2de398d113a37e3023c24ad5e49ee2/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc
,
Sep 12
|
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, Feb 28 2018