diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 22:37:42 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 22:37:42 +0000 |
commit | 9c00f00af8403072573aa4b80c51a055162683f6 (patch) | |
tree | c228a1e6b99deb72d04d36e63d0a21d35bd35323 /chrome/renderer/websharedworker_proxy.h | |
parent | 89f008927b90c6d8997416e766e7340c158093c3 (diff) | |
download | chromium_src-9c00f00af8403072573aa4b80c51a055162683f6.zip chromium_src-9c00f00af8403072573aa4b80c51a055162683f6.tar.gz chromium_src-9c00f00af8403072573aa4b80c51a055162683f6.tar.bz2 |
Initial WebSharedWorkerImpl implementation
Refactored WebWorkerImpl into WebWorkerBase to enable code sharing with
WebSharedWorkerImpl.
Changed how SharedWorkers are instantiated (now routed through WebFrameClient
just like DedicatedWorkers, because WebFrameClient is the only one who knows
how to send messages to RenderViewHost.
BUG=26233
TEST=none (will enable layout tests when basic functionality available)
Review URL: http://codereview.chromium.org/362020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/websharedworker_proxy.h')
-rw-r--r-- | chrome/renderer/websharedworker_proxy.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/renderer/websharedworker_proxy.h b/chrome/renderer/websharedworker_proxy.h index 8ffe63c..b9ab065 100644 --- a/chrome/renderer/websharedworker_proxy.h +++ b/chrome/renderer/websharedworker_proxy.h @@ -21,8 +21,8 @@ class WebSharedWorkerProxy : public WebKit::WebSharedWorker, private WebWorkerBase { public: WebSharedWorkerProxy(ChildThread* child_thread, - int route_id, - int render_view_route_id); + int route_id, + int render_view_route_id); // Implementations of WebSharedWorker APIs virtual bool isStarted(); @@ -31,6 +31,8 @@ class WebSharedWorkerProxy : public WebKit::WebSharedWorker, const WebKit::WebString& name, const WebKit::WebString& user_agent, const WebKit::WebString& source_code); + virtual void terminateWorkerContext(); + virtual void clientDestroyed(); // IPC::Channel::Listener proxyementation. void OnMessageReceived(const IPC::Message& message); |