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

Unified Diff: content/child/webkitplatformsupport_impl.cc

Issue 22815034: Introduce webkit_glue bridges for the new WebSocket Implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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: content/child/webkitplatformsupport_impl.cc
diff --git a/content/child/webkitplatformsupport_impl.cc b/content/child/webkitplatformsupport_impl.cc
index 191b2f850993680c0cc1dd9515d781f96d6bdf79..97bf760783aa305f8334ec3c730376b544939407 100644
--- a/content/child/webkitplatformsupport_impl.cc
+++ b/content/child/webkitplatformsupport_impl.cc
@@ -33,7 +33,7 @@ WebKitPlatformSupportImpl::CreateResourceLoader(
}
webkit_glue::WebSocketStreamHandleBridge*
-WebKitPlatformSupportImpl::CreateWebSocketBridge(
+WebKitPlatformSupportImpl::CreateWebSocketStreamBridge(
WebKit::WebSocketStreamHandle* handle,
webkit_glue::WebSocketStreamHandleDelegate* delegate) {
SocketStreamDispatcher* dispatcher =
@@ -41,4 +41,12 @@ WebKitPlatformSupportImpl::CreateWebSocketBridge(
return dispatcher->CreateBridge(handle, delegate);
}
+webkit_glue::WebSocketHandleBridge*
+WebKitPlatformSupportImpl::CreateWebSocketBridge(
+ webkit_glue::WebSocketHandleDelegate* delegate) {
+ WebSocketDispatcher* dispatcher =
+ ChildThread::current()->websocket_dispatcher();
+ return dispatcher->CreateBridge(delegate);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698