Poll CanPredictNetworkActions in Predictor class.
Predictor is modified to call functions CanPredictNetworkActionsIO and
CanPredictNetworkActionsUI to comply with user preferences (and consider
network connection state). This obsoletes Predictor::EnablePredictor. Also,
bool members Predictor::preconnect_enabled_ and Predictor::predictor_enabled_
now depend solely on command line switches, therefore they are made const.
BUG=
334602
Committed:
https://src.chromium.org/viewvc/chrome?view=rev&revision=284526