diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 01:13:37 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 01:13:37 +0000 |
commit | 30447b6a5d6109d455f2c6262454105d5adf8f94 (patch) | |
tree | 3ef69964f7cf3e10d662af94f88e05288e16ad8c /chrome/renderer/webworker_proxy.h | |
parent | 6eca5f19ffabd672349df42595551e7a4b1da987 (diff) | |
download | chromium_src-30447b6a5d6109d455f2c6262454105d5adf8f94.zip chromium_src-30447b6a5d6109d455f2c6262454105d5adf8f94.tar.gz chromium_src-30447b6a5d6109d455f2c6262454105d5adf8f94.tar.bz2 |
Added lifecycle management and sharing support for SharedWorkers. SharedWorkers
can now outlive their parent pages and can be shared by multiple instances
across multiple tabs.
BUG=26233
TEST=ui tests
Review URL: http://codereview.chromium.org/390017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31868 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webworker_proxy.h')
-rw-r--r-- | chrome/renderer/webworker_proxy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/webworker_proxy.h b/chrome/renderer/webworker_proxy.h index fb2db3ed..112b561 100644 --- a/chrome/renderer/webworker_proxy.h +++ b/chrome/renderer/webworker_proxy.h @@ -27,6 +27,7 @@ class WebWorkerProxy : public WebKit::WebWorker, private WebWorkerBase { WebWorkerProxy(WebKit::WebWorkerClient* client, ChildThread* child_thread, int render_view_route_id); + ~WebWorkerProxy(); // WebWorker implementation. virtual void startWorkerContext(const WebKit::WebURL& script_url, @@ -43,8 +44,7 @@ class WebWorkerProxy : public WebKit::WebWorker, private WebWorkerBase { void OnMessageReceived(const IPC::Message& message); private: - virtual void Disconnect(); - + void CancelCreation(); void OnWorkerCreated(); void OnWorkerContextDestroyed(); void OnPostMessage(const string16& message, |