summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/websharedworkerrepository_impl.h
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 22:37:42 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 22:37:42 +0000
commit9c00f00af8403072573aa4b80c51a055162683f6 (patch)
treec228a1e6b99deb72d04d36e63d0a21d35bd35323 /chrome/renderer/websharedworkerrepository_impl.h
parent89f008927b90c6d8997416e766e7340c158093c3 (diff)
downloadchromium_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.h')
-rw-r--r--chrome/renderer/websharedworkerrepository_impl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/renderer/websharedworkerrepository_impl.h b/chrome/renderer/websharedworkerrepository_impl.h
index a0cda6d..4083202 100644
--- a/chrome/renderer/websharedworkerrepository_impl.h
+++ b/chrome/renderer/websharedworkerrepository_impl.h
@@ -12,12 +12,8 @@ namespace WebKit {
}
class WebSharedWorkerRepositoryImpl : public WebKit::WebSharedWorkerRepository {
- virtual WebKit::WebSharedWorker* lookup(const WebKit::WebURL& url,
- const WebKit::WebString& name,
- DocumentID document);
-
+ virtual void addSharedWorker(WebKit::WebSharedWorker*, DocumentID document);
virtual void documentDetached(DocumentID document);
-
virtual bool hasSharedWorkers(DocumentID document);
};