Index: third_party/WebKit/Source/platform/network/NetworkHints.cpp |
diff --git a/third_party/WebKit/Source/platform/network/NetworkHints.cpp b/third_party/WebKit/Source/platform/network/NetworkHints.cpp |
index c2c99f7c232bf9945552c288d0cd6cb31acfedc8..1ebcf0b6d52bf2289858b957c1e1d3e9ed9f9a11 100644 |
--- a/third_party/WebKit/Source/platform/network/NetworkHints.cpp |
+++ b/third_party/WebKit/Source/platform/network/NetworkHints.cpp |
@@ -45,4 +45,11 @@ void preconnect(const KURL& url, const CrossOriginAttributeValue crossOrigin) |
} |
} |
+void sendNavigationHint(const KURL& url, WebNavigationHintType type) |
+{ |
+ if (WebPrescientNetworking* prescientNetworking = Platform::current()->prescientNetworking()) { |
+ prescientNetworking->sendNavigationHint(url, type); |
+ } |
+} |
+ |
} // namespace blink |