summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.cc
diff options
context:
space:
mode:
authorukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 09:17:26 +0000
committerukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 09:17:26 +0000
commit4644c7573d32f1064106557c0772c99b964b09c0 (patch)
tree12697bad6a18c25a34e6a49c535cf03ca2cade80 /webkit/glue/webkitclient_impl.cc
parent329f3e727ee9a3ab5fd27bba7f2fc08c4c620d7b (diff)
downloadchromium_src-4644c7573d32f1064106557c0772c99b964b09c0.zip
chromium_src-4644c7573d32f1064106557c0772c99b964b09c0.tar.gz
chromium_src-4644c7573d32f1064106557c0772c99b964b09c0.tar.bz2
Enable WebSocket in test_shell
BUG=12497,24756 TEST=LayoutTests/fast/websockets success Review URL: http://codereview.chromium.org/243108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.cc')
-rw-r--r--webkit/glue/webkitclient_impl.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc
index d36f043..c549dab 100644
--- a/webkit/glue/webkitclient_impl.cc
+++ b/webkit/glue/webkitclient_impl.cc
@@ -34,6 +34,7 @@
#include "webkit/glue/plugins/plugin_instance.h"
#include "webkit/glue/webkit_glue.h"
#include "webkit/glue/webplugininfo.h"
+#include "webkit/glue/websocketstreamhandle_impl.h"
#include "webkit/glue/weburlloader_impl.h"
#include "webkit/glue/webview_impl.h"
#include "webkit/glue/webworkerclient_impl.h"
@@ -46,6 +47,7 @@ using WebKit::WebLocalizedString;
using WebKit::WebPluginListBuilder;
using WebKit::WebStorageNamespace;
using WebKit::WebString;
+using WebKit::WebSocketStreamHandle;
using WebKit::WebThemeEngine;
using WebKit::WebURLLoader;
using WebKit::WebWidgetClient;
@@ -154,6 +156,10 @@ WebURLLoader* WebKitClientImpl::createURLLoader() {
return new WebURLLoaderImpl();
}
+WebSocketStreamHandle* WebKitClientImpl::createSocketStreamHandle() {
+ return new WebSocketStreamHandleImpl();
+}
+
void WebKitClientImpl::getPluginList(bool refresh,
WebPluginListBuilder* builder) {
std::vector<WebPluginInfo> plugins;