Index: public/platform/WebPrescientNetworking.h |
diff --git a/public/platform/WebPrescientNetworking.h b/public/platform/WebPrescientNetworking.h |
index 0b8b80b5a24c4d73585b806fa50bc71f865ce093..a4521df66373de64cc87eed474b4c7df5715e1eb 100644 |
--- a/public/platform/WebPrescientNetworking.h |
+++ b/public/platform/WebPrescientNetworking.h |
@@ -38,17 +38,6 @@ namespace blink { |
class WebURL; |
-// FIXME: Passing preconnect motivation to the platform is layering vioration. |
-// However, this is done temporarily to perform a Finch field trial to enable |
-// preconnect in different triggers one at a time. This enum can be safely |
-// removed after the field trial is done. |
-enum WebPreconnectMotivation { |
- WebPreconnectMotivationLinkMouseDown, |
- WebPreconnectMotivationLinkMouseOver, |
- WebPreconnectMotivationLinkTapUnconfirmed, |
- WebPreconnectMotivationLinkTapDown, |
-}; |
- |
class WebPrescientNetworking { |
public: |
virtual ~WebPrescientNetworking() { } |
@@ -56,10 +45,6 @@ public: |
// When a page navigation is speculated, DNS prefetch is triggered to hide |
// the host resolution latency. |
virtual void prefetchDNS(const WebString& hostname) { } |
- |
- // When a page navigation is speculated, preconnect is triggered to hide |
- // session initialization latency to the server providing the page resource. |
- virtual void preconnect(const WebURL&, WebPreconnectMotivation) { } |
}; |
} // namespace blink |