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

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

Issue 10416002: Seculative resource prefetching for URLs CL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resolving conflicts. Created 8 years, 6 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/profiles/profile_dependency_manager.cc ('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 64631c58a37fe4bf688a0bb8f5e078a786b8dbd6..1f25e4e9c196b28f459aa92f619ebf7d5d132ba2 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -31,6 +31,7 @@ class TransportSecurityPersister;
namespace chrome_browser_net {
class HttpServerPropertiesManager;
+class ResourcePrefetchPredictorObserver;
}
namespace net {
@@ -114,6 +115,11 @@ class ProfileIOData {
return is_incognito_;
}
+ chrome_browser_net::ResourcePrefetchPredictorObserver*
+ resource_prefetch_predictor_observer() const {
+ return resource_prefetch_predictor_observer_.get();
+ }
+
// Initialize the member needed to track the metrics enabled state. This is
// only to be called on the UI thread.
void InitializeMetricsEnabledStateOnUIThread();
@@ -153,6 +159,8 @@ class ProfileIOData {
scoped_refptr<net::SSLConfigService> ssl_config_service;
scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate;
scoped_refptr<ExtensionInfoMap> extension_info_map;
+ scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver>
+ resource_prefetch_predictor_observer_;
#if defined(ENABLE_NOTIFICATIONS)
DesktopNotificationService* notification_service;
@@ -345,6 +353,9 @@ class ProfileIOData {
mutable scoped_refptr<ExtensionInfoMap> extension_info_map_;
mutable scoped_refptr<CookieSettings> cookie_settings_;
+ mutable scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver>
+ resource_prefetch_predictor_observer_;
+
// TODO(jhawkins): Remove once crbug.com/102004 is fixed.
bool initialized_on_UI_thread_;
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698