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

Unified Diff: webkit/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, 3 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: webkit/child/webkitplatformsupport_impl.cc
diff --git a/webkit/child/webkitplatformsupport_impl.cc b/webkit/child/webkitplatformsupport_impl.cc
index bb7cae39fd0a9ec3fd44bf429761d14cf25c9641..420e5ec68eb2b415a65d80ab33a1c4b14d453696 100644
--- a/webkit/child/webkitplatformsupport_impl.cc
+++ b/webkit/child/webkitplatformsupport_impl.cc
@@ -46,6 +46,7 @@
#include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h"
#include "ui/base/layout.h"
#include "webkit/child/webkit_child_helpers.h"
+#include "webkit/child/websocket_handle_impl.h"
#include "webkit/child/websocketstreamhandle_impl.h"
#include "webkit/child/weburlloader_impl.h"
#include "webkit/common/user_agent/user_agent.h"
@@ -57,6 +58,7 @@ using WebKit::WebData;
using WebKit::WebLocalizedString;
using WebKit::WebPluginListBuilder;
using WebKit::WebString;
+using WebKit::WebSocketHandle;
using WebKit::WebSocketStreamHandle;
using WebKit::WebURL;
using WebKit::WebURLError;
@@ -365,6 +367,10 @@ WebSocketStreamHandle* WebKitPlatformSupportImpl::createSocketStreamHandle() {
return new WebSocketStreamHandleImpl(this);
}
+WebSocketHandle* WebKitPlatformSupportImpl::createWebSocketHandle() {
+ return new WebSocketHandleImpl(this);
+}
+
WebString WebKitPlatformSupportImpl::userAgent(const WebURL& url) {
return WebString::fromUTF8(webkit_glue::GetUserAgent(url));
}

Powered by Google App Engine
This is Rietveld 408576698