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 a4e7ecd88028a6a5c1a88a1d14311236a0ee3d3c..dc77aca55130dc75124d5848976fb84f847feb6d 100644 |
--- a/components/network_hints/renderer/prescient_networking_dispatcher.h |
+++ b/components/network_hints/renderer/prescient_networking_dispatcher.h |
@@ -7,9 +7,14 @@ |
#include "base/macros.h" |
#include "components/network_hints/renderer/renderer_dns_prefetch.h" |
+#include "components/network_hints/renderer/renderer_navigation_hint_sender.h" |
#include "components/network_hints/renderer/renderer_preconnect.h" |
#include "third_party/WebKit/public/platform/WebPrescientNetworking.h" |
+namespace blink { |
+enum class WebNavigationHintType; |
+} |
+ |
namespace network_hints { |
// The main entry point from blink for sending DNS prefetch requests to the |
@@ -22,10 +27,13 @@ class PrescientNetworkingDispatcher : public blink::WebPrescientNetworking { |
void prefetchDNS(const blink::WebString& hostname) override; |
void preconnect(const blink::WebURL& url, |
const bool allow_credentials) override; |
+ void sendNavigationHint(const blink::WebURL& url, |
+ blink::WebNavigationHintType type) override; |
kinuko
2016/06/24 07:40:47
This class mostly has requests to the network stac
|
private: |
network_hints::RendererDnsPrefetch dns_prefetch_; |
network_hints::RendererPreconnect preconnect_; |
+ network_hints::RendererNavigationHintSender navigation_hint_sender_; |
DISALLOW_COPY_AND_ASSIGN(PrescientNetworkingDispatcher); |
}; |