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

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: add virtual d-tor 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
« no previous file with comments | « Source/Platform/Platform.gypi ('k') | Source/Platform/chromium/public/WebPrescientNetworking.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..566305709c633907bf65e267ca185e78e0b2df96 100644
--- a/Source/Platform/chromium/public/Platform.h
+++ b/Source/Platform/chromium/public/Platform.h
@@ -68,6 +68,7 @@ class WebMediaStreamCenterClient;
class WebMessagePortChannel;
class WebMimeRegistry;
class WebPluginListBuilder;
+class WebPrescientNetworking;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
class WebSandboxSupport;
@@ -268,6 +269,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; }
+
// Returns a new WebSocketStreamHandle instance.
virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; }
« no previous file with comments | « Source/Platform/Platform.gypi ('k') | Source/Platform/chromium/public/WebPrescientNetworking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698