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

Unified Diff: Source/Platform/chromium/public/Platform.h

Issue 14746002: Add WebPrescientNetworking to trigger preconnect from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix comment Created 7 years, 7 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
Index: Source/Platform/chromium/public/Platform.h
diff --git a/Source/Platform/chromium/public/Platform.h b/Source/Platform/chromium/public/Platform.h
index 39eea50589c119086ec1772266261372d185d686..824d9af30cf20b9d6ee2b303b4baa46160fac5dc 100644
--- a/Source/Platform/chromium/public/Platform.h
+++ b/Source/Platform/chromium/public/Platform.h
@@ -268,6 +268,9 @@ public:
// A suggestion to prefetch IP information for the given hostname.
virtual void prefetchHostName(const WebString&) { }
+ // May return null.
+ virtual WebPrescientNetworking* prescientNetworking() { return 0; }
abarth-chromium 2013/05/14 06:38:47 Don't we need to forward declare WebPrescientNetwo
kouhei (in TOK) 2013/05/14 07:25:14 Done.
+
// Returns a new WebSocketStreamHandle instance.
virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; }

Powered by Google App Engine
This is Rietveld 408576698