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

Unified Diff: chrome/browser/predictors/resource_prefetch_predictor.h

Issue 10827103: Speculative resource prefetching - fixing missing navigations due to server side redirects. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing James's comments. Created 8 years, 5 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/predictors/resource_prefetch_predictor.h
diff --git a/chrome/browser/predictors/resource_prefetch_predictor.h b/chrome/browser/predictors/resource_prefetch_predictor.h
index e5d71ed62dcecf04b069705ec5691be74cdc2c4b..24964987874176ae493723e8d522373009f27a5e 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor.h
+++ b/chrome/browser/predictors/resource_prefetch_predictor.h
@@ -99,6 +99,7 @@ class ResourcePrefetchPredictor
// Only for responses.
std::string mime_type;
bool was_cached;
+ GURL redirect_url; // Empty unless request was redirected to a valid url.
};
ResourcePrefetchPredictor(const Config& config, Profile* profile);
« no previous file with comments | « chrome/browser/net/resource_prefetch_predictor_observer.cc ('k') | chrome/browser/predictors/resource_prefetch_predictor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698