summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/websharedworkerrepository_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/websharedworkerrepository_impl.h')
-rw-r--r--chrome/renderer/websharedworkerrepository_impl.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/renderer/websharedworkerrepository_impl.h b/chrome/renderer/websharedworkerrepository_impl.h
new file mode 100644
index 0000000..bf6369c
--- /dev/null
+++ b/chrome/renderer/websharedworkerrepository_impl.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
+// source code is governed by a BSD-style license that can be found in the
+// LICENSE file.
+
+#ifndef CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_
+#define CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_
+
+#include "webkit/api/public/WebSharedWorkerRepository.h"
+
+class WebKit::WebSharedWorker;
+
+class WebSharedWorkerRepositoryImpl : public WebKit::WebSharedWorkerRepository {
+ virtual WebKit::WebSharedWorker* lookup(const WebKit::WebURL& url,
+ const WebKit::WebString& name,
+ DocumentID document);
+
+ virtual void documentDetached(DocumentID document);
+
+ virtual bool hasSharedWorkers(DocumentID document);
+};
+
+#endif // CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_