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

Unified Diff: public/platform/Platform.h

Issue 22914026: [ABANDONED] Introduce blink-side bridges for the new WebSocket implementation. (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
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index da4e278ed6b711ec4968dfc8f94f03b469dd9875..1c99b199426d51cf3ff823f616f63ab12cc69409 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -80,6 +80,7 @@ class WebPrescientNetworking;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
class WebSandboxSupport;
+class WebSocketChannelHandle;
class WebSocketStreamHandle;
class WebSpeechSynthesizer;
class WebSpeechSynthesizerClient;
@@ -302,6 +303,9 @@ public:
// Returns a new WebSocketStreamHandle instance.
virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; }
+ // Returns a new WebSocketChannelHandle instance.
+ virtual WebSocketChannelHandle* createWebSocketChannelHandle() { return 0; }
abarth-chromium 2013/08/22 19:39:07 Is the word "channel" essential here? Can we just
yhirano 2013/08/23 01:35:13 Done.
+
// Returns the User-Agent string that should be used for the given URL.
virtual WebString userAgent(const WebURL&) { return WebString(); }

Powered by Google App Engine
This is Rietveld 408576698