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

Unified Diff: content/browser/worker_host/shared_worker_host.cc

Issue 140333011: Add some empty classes for the embedded SharedWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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: content/browser/worker_host/shared_worker_host.cc
diff --git a/content/browser/worker_host/shared_worker_host.cc b/content/browser/worker_host/shared_worker_host.cc
new file mode 100644
index 0000000000000000000000000000000000000000..eaba11d01463214aabb4f4b47d800da2917ac77c
--- /dev/null
+++ b/content/browser/worker_host/shared_worker_host.cc
@@ -0,0 +1,18 @@
+// Copyright 2014 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 "content/browser/worker_host/shared_worker_host.h"
+
+#include "content/public/browser/browser_thread.h"
+
+namespace content {
kinuko 2014/02/12 08:09:49 nit: ditto
horo 2014/02/12 08:43:45 Done.
+SharedWorkerHost::SharedWorkerHost(SharedWorkerInstance* instance)
+ : instance_(instance) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+}
+
+SharedWorkerHost::~SharedWorkerHost() {
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698