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

Unified Diff: chrome/renderer/websharedworkerrepository_impl.cc

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.cc
diff --git a/chrome/renderer/websharedworkerrepository_impl.cc b/chrome/renderer/websharedworkerrepository_impl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..15aea077ea874f04bb9edb46c63036f6dafe3006
--- /dev/null
+++ b/chrome/renderer/websharedworkerrepository_impl.cc
@@ -0,0 +1,24 @@
+// 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.
+
+#include "chrome/renderer/websharedworkerrepository_impl.h"
+
+WebKit::WebSharedWorker* WebSharedWorkerRepositoryImpl::lookup(
+ const WebKit::WebURL& url,
+ const WebKit::WebString& name,
+ DocumentID document) {
+ return NULL;
+}
+
+void WebSharedWorkerRepositoryImpl::documentDetached(
+ DocumentID document) {
+ // TODO(atwilson): Update this to call to WorkerService to shutdown any
+ // associated SharedWorkers.
+}
+
+bool WebSharedWorkerRepositoryImpl::hasSharedWorkers(
+ DocumentID document) {
+ // TODO(atwilson): Update this when we track shared worker creation.
+ return false;
+}

Powered by Google App Engine
This is Rietveld 408576698