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

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

Issue 2887133003: predictors: Refactor resource_prefetch_predictor triggering. (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
« no previous file with comments | « chrome/browser/predictors/resource_prefetcher_manager.h ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 4b144947500f67aeb666e62ea5f80e6ebfc92565..895fa558d4d2d4c1a1af4a38c444330d771452ed 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -51,7 +51,7 @@ class CertificateProvider;
}
namespace chrome_browser_net {
-class ResourcePrefetchPredictorObserver;
+class LoadingPredictorObserver;
}
namespace certificate_transparency {
@@ -204,9 +204,9 @@ class ProfileIOData {
return &incognito_availibility_pref_;
}
- chrome_browser_net::ResourcePrefetchPredictorObserver*
- resource_prefetch_predictor_observer() const {
- return resource_prefetch_predictor_observer_.get();
+ chrome_browser_net::LoadingPredictorObserver* loading_predictor_observer()
+ const {
+ return loading_predictor_observer_.get();
}
policy::PolicyHeaderIOHelper* policy_header_helper() const {
@@ -313,8 +313,8 @@ class ProfileIOData {
#if BUILDFLAG(ENABLE_EXTENSIONS)
scoped_refptr<extensions::InfoMap> extension_info_map;
#endif
- std::unique_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver>
- resource_prefetch_predictor_observer_;
+ std::unique_ptr<chrome_browser_net::LoadingPredictorObserver>
+ loading_predictor_observer_;
// This pointer exists only as a means of conveying a url job factory
// pointer from the protocol handler registry on the UI thread to the
@@ -600,8 +600,8 @@ class ProfileIOData {
mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
- mutable std::unique_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver>
- resource_prefetch_predictor_observer_;
+ mutable std::unique_ptr<chrome_browser_net::LoadingPredictorObserver>
+ loading_predictor_observer_;
mutable std::unique_ptr<ChromeHttpUserAgentSettings>
chrome_http_user_agent_settings_;
« no previous file with comments | « chrome/browser/predictors/resource_prefetcher_manager.h ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698