Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 2896713003: Create LoadingDataCollector class and have observers rely on it instead of ResourcePrefetchPredictor (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 07256da2a74cef75e741045a1dd68a8c68506e5b..40678b48f612a4e82355df10fd38929957d5b6d4 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -393,7 +393,7 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
predictors::LoadingPredictorFactory::GetForProfile(profile)) {
resource_prefetch_predictor_observer_.reset(
Benoit L 2017/05/22 13:37:16 nit: as you're touching this code, can you convert
trevordixon 2017/05/23 13:05:15 Done.
new chrome_browser_net::ResourcePrefetchPredictorObserver(
- loading_predictor->resource_prefetch_predictor()));
+ loading_predictor->glowplug_collector()));
}
ProtocolHandlerRegistry* protocol_handler_registry =

Powered by Google App Engine
This is Rietveld 408576698