diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 05:42:36 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 05:42:36 +0000 |
commit | 0157282494c1096cef55f04d7b8936c7db022679 (patch) | |
tree | 33d30478c95e60b4ba629b098db06ae2d1418278 /webkit/glue/websocketstreamhandle_impl.h | |
parent | 745816be61e207da7cef1f839591bfb35bd15fd3 (diff) | |
download | chromium_src-0157282494c1096cef55f04d7b8936c7db022679.zip chromium_src-0157282494c1096cef55f04d7b8936c7db022679.tar.gz chromium_src-0157282494c1096cef55f04d7b8936c7db022679.tar.bz2 |
Move some webkit_glue embedder functions into WebKitPlatformSupport virtual methods
This moves the functions into a pattern that is component-friendly.
BUG=98755
TEST=chrome test_shell test_shell_tests browser_tests DumpRenderTree
Review URL: http://codereview.chromium.org/8602002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/websocketstreamhandle_impl.h')
-rw-r--r-- | webkit/glue/websocketstreamhandle_impl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/websocketstreamhandle_impl.h b/webkit/glue/websocketstreamhandle_impl.h index e018388..9ce5d77 100644 --- a/webkit/glue/websocketstreamhandle_impl.h +++ b/webkit/glue/websocketstreamhandle_impl.h @@ -10,9 +10,11 @@ namespace webkit_glue { +class WebKitPlatformSupportImpl; + class WebSocketStreamHandleImpl : public WebKit::WebSocketStreamHandle { public: - WebSocketStreamHandleImpl(); + explicit WebSocketStreamHandleImpl(WebKitPlatformSupportImpl* platform); virtual ~WebSocketStreamHandleImpl(); // WebSocketStreamHandle methods: @@ -25,6 +27,7 @@ class WebSocketStreamHandleImpl : public WebKit::WebSocketStreamHandle { private: class Context; scoped_refptr<Context> context_; + WebKitPlatformSupportImpl* platform_; DISALLOW_COPY_AND_ASSIGN(WebSocketStreamHandleImpl); }; |