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

Unified Diff: public/platform/Platform.h

Issue 23684002: Introduce WebSocketHandle and WebSocketHandleClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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 | public/platform/WebSocketHandle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index da4e278ed6b711ec4968dfc8f94f03b469dd9875..a40beac299a193c811563e27ae3f6a53873b16f1 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -80,6 +80,7 @@ class WebPrescientNetworking;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
class WebSandboxSupport;
+class WebSocketHandle;
class WebSocketStreamHandle;
class WebSpeechSynthesizer;
class WebSpeechSynthesizerClient;
@@ -302,6 +303,9 @@ public:
// Returns a new WebSocketStreamHandle instance.
virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; }
+ // Returns a new WebSocketHandle instance.
+ virtual WebSocketHandle* createWebSocketHandle() { return 0; }
+
// Returns the User-Agent string that should be used for the given URL.
virtual WebString userAgent(const WebURL&) { return WebString(); }
« no previous file with comments | « no previous file | public/platform/WebSocketHandle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698