Bug 1009122 - use cache2 as storage for predictor data. r=honzab

This commit is contained in:
Nicholas Hurley
2015-01-14 13:59:04 -08:00
parent cb9b9544aa
commit 8d8471fb4d
9 changed files with 1660 additions and 2471 deletions

View File

@@ -10174,6 +10174,9 @@ nsDocShell::InternalLoad(nsIURI * aURI,
else
srcdoc = NullString();
mozilla::net::PredictorLearn(aURI, nullptr,
nsINetworkPredictor::LEARN_LOAD_TOPLEVEL,
this);
mozilla::net::PredictorPredict(aURI, nullptr,
nsINetworkPredictor::PREDICT_LOAD,
this, nullptr);