Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: public/platform/WebPrescientNetworking.h

Issue 354073003: Remove mousedown preconnect from WebPrescientNetworking (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698