diff options
author | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 06:18:11 +0000 |
---|---|---|
committer | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 06:18:11 +0000 |
commit | 327344ef227af4c66b42cb7e948d4c4096eab83f (patch) | |
tree | e66b340b198dcd9ed8db57ae067eb9fd8d11c26b /chrome/renderer/renderer_glue.cc | |
parent | 50220030753d7d0ba1fcea95e5f889033bdeb382 (diff) | |
download | chromium_src-327344ef227af4c66b42cb7e948d4c4096eab83f.zip chromium_src-327344ef227af4c66b42cb7e948d4c4096eab83f.tar.gz chromium_src-327344ef227af4c66b42cb7e948d4c4096eab83f.tar.bz2 |
WebSocket support in chromium.
Run with --enable-web-sockets enables WebSocket features.
BUG=12497
TEST=none
Review URL: http://codereview.chromium.org/292044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_glue.cc')
-rw-r--r-- | chrome/renderer/renderer_glue.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/renderer/renderer_glue.cc b/chrome/renderer/renderer_glue.cc index 43012e9..2dab562 100644 --- a/chrome/renderer/renderer_glue.cc +++ b/chrome/renderer/renderer_glue.cc @@ -24,6 +24,7 @@ #include "chrome/renderer/net/render_dns_master.h" #include "chrome/renderer/render_process.h" #include "chrome/renderer/render_thread.h" +#include "chrome/renderer/socket_stream_dispatcher.h" #include "googleurl/src/url_util.h" #include "third_party/skia/include/core/SkBitmap.h" #include "webkit/api/public/WebKit.h" @@ -245,14 +246,13 @@ ResourceLoaderBridge* ResourceLoaderBridge::Create( appcache_host_id, routing_id); } - // static factory function WebSocketStreamHandleBridge* WebSocketStreamHandleBridge::Create( WebKit::WebSocketStreamHandle* handle, WebSocketStreamHandleDelegate* delegate) { - // TODO(ukai): implement dispathcer class. - NOTREACHED(); - return NULL; + SocketStreamDispatcher* dispatcher = + RenderThread::current()->socket_stream_dispatcher(); + return dispatcher->CreateBridge(handle, delegate); } void NotifyCacheStats() { |