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

Unified Diff: components/network_hints/renderer/prescient_networking_dispatcher.cc

Issue 2043083002: Speculatively launch Service Workers on mouse/touch events. [2/5] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Same as Patch Set 5 Created 4 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: components/network_hints/renderer/prescient_networking_dispatcher.cc
diff --git a/components/network_hints/renderer/prescient_networking_dispatcher.cc b/components/network_hints/renderer/prescient_networking_dispatcher.cc
index a5145ac48b9fd03475e15bfe59c8441df9e21d09..43c24baaa2e8a2fb478707b107d7e1b66d934716 100644
--- a/components/network_hints/renderer/prescient_networking_dispatcher.cc
+++ b/components/network_hints/renderer/prescient_networking_dispatcher.cc
@@ -30,4 +30,10 @@ void PrescientNetworkingDispatcher::preconnect(const blink::WebURL& url,
preconnect_.Preconnect(url, allow_credentials);
}
+void PrescientNetworkingDispatcher::sendNavigationHint(
+ const blink::WebURL& url,
+ blink::WebNavigationHintType type) {
+ navigation_hint_sender_.sendNavigationHint(url, type);
kinuko 2016/07/18 15:24:45 Why do we need a separate navigation hint sender o
horo 2016/07/19 02:09:43 I just wanted to do the same thing as RendererPrec
kinuko 2016/07/19 02:17:08 They have things to do there... what value does it
+}
+
} // namespace network_hints

Powered by Google App Engine
This is Rietveld 408576698