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

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: Addressing dominich's and willchan's comments. 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_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index f4702bbb65673bba496ececdeda67c292c177537..2adaede03641072c4af966e6a2e8ec773530eb07 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -44,6 +44,10 @@ class SSLConfigService;
class TransportSecurityState;
} // namespace net
+namespace predictors {
+class ResourcePrefetchPredictor;
+} // namespace predictors
+
namespace policy {
class URLBlacklistManager;
} // namespace policy
@@ -171,6 +175,8 @@ class ProfileIOData {
// The profile this struct was populated from. It's passed as a void* to
// ensure it's not accidently used on the IO thread. Before using it on the
// UI thread, call ProfileManager::IsValidProfile to ensure it's alive.
+ scoped_refptr<predictors::ResourcePrefetchPredictor>
dominich 2012/05/24 16:07:53 comment applies to |profile| below. So move this.
dominich 2012/05/24 16:07:53 this is the source of my confusion: in Profile IO
Shishir 2012/05/30 01:07:51 Done.
Shishir 2012/05/30 01:07:51 Done.
+ resource_prefetch_predictor_;
void* profile;
};

Powered by Google App Engine
This is Rietveld 408576698