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/websharedworkerrepository_impl.cc | |
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/websharedworkerrepository_impl.cc')
-rw-r--r-- | chrome/renderer/websharedworkerrepository_impl.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/renderer/websharedworkerrepository_impl.cc b/chrome/renderer/websharedworkerrepository_impl.cc index 15aea07..24664b7 100644 --- a/chrome/renderer/websharedworkerrepository_impl.cc +++ b/chrome/renderer/websharedworkerrepository_impl.cc @@ -4,11 +4,11 @@ #include "chrome/renderer/websharedworkerrepository_impl.h" -WebKit::WebSharedWorker* WebSharedWorkerRepositoryImpl::lookup( - const WebKit::WebURL& url, - const WebKit::WebString& name, - DocumentID document) { - return NULL; +#include "chrome/renderer/websharedworker_proxy.h" + +void WebSharedWorkerRepositoryImpl::addSharedWorker( + WebKit::WebSharedWorker* worker, DocumentID document) { + // TODO(atwilson): Track shared worker creation here. } void WebSharedWorkerRepositoryImpl::documentDetached( |