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

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

Issue 14749005: Implement WebPrescientNetworking to trigger preconnect from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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/url_info.h
diff --git a/chrome/browser/net/url_info.h b/chrome/browser/net/url_info.h
index 54c81591d84c5dd5ef13d9f588c654b30a046675..63d8aa3edb6e3b4519464494c732104b67921531 100644
--- a/chrome/browser/net/url_info.h
+++ b/chrome/browser/net/url_info.h
@@ -51,6 +51,10 @@ class UrlInfo {
LEARNED_REFERAL_MOTIVATED, // Prior navigation taught us this resolution.
SELF_REFERAL_MOTIVATED, // Guess about need for a second connection.
+ MOUSE_DOWN_MOTIVATED, // Mouse-down link induced preconnect.
+ TAP_UNCONFIRMED_MOTIVATED, // Unconfirmed tap on a link induced preconnect.
+ TAP_DOWN_MOTIVATED, // Tap-down link induced preconnect.
jar (doing other things) 2013/05/04 00:32:05 nit: indent comments to align them (style as in li
kouhei (in TOK) 2013/05/07 09:16:12 Done.
+
MAX_MOTIVATED // Beyond all enums, for use in histogram bounding.
};

Powered by Google App Engine
This is Rietveld 408576698