Index: chrome/renderer/websharedworkerrepository_impl.h |
diff --git a/chrome/renderer/websharedworkerrepository_impl.h b/chrome/renderer/websharedworkerrepository_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bf6369c04866c8b0456d3f68f2ade6e4afe62823 |
--- /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_ |