Index: components/network_hints/renderer/prescient_networking_dispatcher.h |
diff --git a/components/network_hints/renderer/prescient_networking_dispatcher.h b/components/network_hints/renderer/prescient_networking_dispatcher.h |
index 9b107390df79edf1febe4ebbfea8974439d34266..3b2219e48d5a58f4234cd005579329bb2369f353 100644 |
--- a/components/network_hints/renderer/prescient_networking_dispatcher.h |
+++ b/components/network_hints/renderer/prescient_networking_dispatcher.h |
@@ -7,6 +7,7 @@ |
#include "base/macros.h" |
#include "components/network_hints/renderer/renderer_dns_prefetch.h" |
+#include "components/network_hints/renderer/renderer_preconnect.h" |
#include "third_party/WebKit/public/platform/WebPrescientNetworking.h" |
namespace network_hints { |
@@ -19,9 +20,11 @@ class PrescientNetworkingDispatcher : public blink::WebPrescientNetworking { |
~PrescientNetworkingDispatcher() override; |
void prefetchDNS(const blink::WebString& hostname) override; |
+ void preconnect(const blink::WebURL& url) override; |
private: |
network_hints::RendererDnsPrefetch dns_prefetch_; |
+ network_hints::RendererPreconnect preconnect_; |
DISALLOW_COPY_AND_ASSIGN(PrescientNetworkingDispatcher); |
}; |