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

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

Issue 10416002: Seculative resource prefetching for URLs CL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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_impl_io_data.h
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h
index 153e2784821f675054197c49ce510562cd6f371e..0bf5dae5da4f707288aa51326edcf20389181346 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -21,6 +21,10 @@ class HttpServerProperties;
class HttpTransactionFactory;
} // namespace net
+namespace predictors {
+class ResourcePrefetchPredictor;
+} // namespace predictors
+
class ProfileImplIOData : public ProfileIOData {
public:
class Handle {
@@ -146,6 +150,8 @@ class ProfileImplIOData : public ProfileIOData {
mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_;
mutable scoped_ptr<chrome_browser_net::Predictor> predictor_;
+ mutable scoped_refptr<predictors::ResourcePrefetchPredictor>
+ resource_prefetch_predictor_;
mutable scoped_ptr<ChromeURLRequestContext> media_request_context_;

Powered by Google App Engine
This is Rietveld 408576698