Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3224)

Unified Diff: chrome/renderer/websharedworkerrepository_impl.h

Issue 340036: Initial pass of shared workers renderer-side code (Closed)
Patch Set: Changes reflecting review feedback Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698