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

Unified Diff: chrome/browser/net/predictor.h

Issue 14749005: Implement WebPrescientNetworking to trigger preconnect from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use WebPrerenderingSupport instead of platform API / removed motivationId Created 7 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/net/predictor.h
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
index 996bc8c08db9bb713ffb2d465ecc2434d56c7afd..a376827b9c7d1d35f5b620b0fddbaf99a4164692 100644
--- a/chrome/browser/net/predictor.h
+++ b/chrome/browser/net/predictor.h
@@ -117,7 +117,8 @@ class Predictor {
void AnticipateOmniboxUrl(const GURL& url, bool preconnectable);
// Preconnect a URL and all of its subresource domains.
- void PreconnectUrlAndSubresources(const GURL& url);
+ void PreconnectUrlAndSubresources(const GURL& url,
+ UrlInfo::ResolutionMotivation motivation);
static UrlList GetPredictedUrlListAtStartup(PrefService* user_prefs,
PrefService* local_state);

Powered by Google App Engine
This is Rietveld 408576698