Index: third_party/WebKit/public/platform/WebPrescientNetworking.h |
diff --git a/third_party/WebKit/public/platform/WebPrescientNetworking.h b/third_party/WebKit/public/platform/WebPrescientNetworking.h |
index 0b2872e3f9b5caa008c46f25a75f5c663c8a7f4b..65d2b0eae03f81dd747661ca7921770fe1791f0b 100644 |
--- a/third_party/WebKit/public/platform/WebPrescientNetworking.h |
+++ b/third_party/WebKit/public/platform/WebPrescientNetworking.h |
@@ -37,6 +37,8 @@ |
namespace blink { |
+enum class WebNavigationHintType; |
+ |
class WebPrescientNetworking { |
public: |
virtual ~WebPrescientNetworking() { } |
@@ -46,6 +48,9 @@ public: |
virtual void prefetchDNS(const WebString& hostname) { } |
virtual void preconnect(const WebURL& url, const bool allowCredentials) { } |
+ |
+ // Send a hint that a navigation to |url| is likely to happen. |
+ virtual void sendNavigationHint(const WebURL& url, WebNavigationHintType) {} |
}; |
} // namespace blink |