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

Unified Diff: net/http/http_request_info.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: net/http/http_request_info.h
diff --git a/net/http/http_request_info.h b/net/http/http_request_info.h
index 1f8c80c127bd1f434e55f17224e5ac98153b3c07..ced0c84f9ead8e26fb913c54ae07c84df50e707b 100644
--- a/net/http/http_request_info.h
+++ b/net/http/http_request_info.h
@@ -25,6 +25,14 @@ struct NET_EXPORT HttpRequestInfo {
EARLY_LOAD_MOTIVATED, // When browser asks a tab to open an URL, this short
// circuits that path (of waiting for the renderer to
// do the URL request), and starts loading ASAP.
+ MOUSE_OVER_MOTIVATED, // Request was motivated by a preconnect
+ // from link mouseover
+ MOUSE_DOWN_MOTIVATED, // Request was motivated by a preconnect
+ // from link mousedown
+ TAP_UNCONFIRMED_MOTIVATED, // Request was motivated by a preconnect
+ // from link unconfirmed tap
+ TAP_DOWN_MOTIVATED, // Request was motivated by a preconnect
+ // from link tapdown
};
HttpRequestInfo();

Powered by Google App Engine
This is Rietveld 408576698