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

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

Issue 462423004: Revert CL 117933003. Re-add resource speculative prefetching code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to fix patch failure Created 6 years, 3 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.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 34fcb6451f40d5ef92382fb79f7861332491d0ab..ad9aaee78357fa4d56553e2705ad62ecee8cbbe2 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -42,6 +42,10 @@ class ProtocolHandlerRegistry;
class SigninNamesOnIOThread;
class SupervisedUserURLFilter;
+namespace chrome_browser_net {
+class ResourcePrefetchPredictorObserver;
+}
+
namespace extensions {
class InfoMap;
}
@@ -228,6 +232,11 @@ class ProfileIOData {
return &incognito_availibility_pref_;
}
+ chrome_browser_net::ResourcePrefetchPredictorObserver*
+ resource_prefetch_predictor_observer() const {
+ return resource_prefetch_predictor_observer_.get();
+ }
+
#if defined(ENABLE_CONFIGURATION_POLICY)
policy::PolicyHeaderIOHelper* policy_header_helper() const {
return policy_header_helper_.get();
@@ -310,6 +319,8 @@ class ProfileIOData {
#if defined(ENABLE_EXTENSIONS)
scoped_refptr<extensions::InfoMap> extension_info_map;
#endif
+ scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver>
+ resource_prefetch_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
@@ -601,6 +612,9 @@ class ProfileIOData {
mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
+ mutable scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver>
+ resource_prefetch_predictor_observer_;
+
mutable scoped_ptr<ChromeHttpUserAgentSettings>
chrome_http_user_agent_settings_;
« no previous file with comments | « chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698