Index: content/browser/worker_host/shared_worker_message_filter.cc |
diff --git a/content/browser/worker_host/shared_worker_message_filter.cc b/content/browser/worker_host/shared_worker_message_filter.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61a0ecb3366ee68e178e7bd0c85268ee8ea2573b |
--- /dev/null |
+++ b/content/browser/worker_host/shared_worker_message_filter.cc |
@@ -0,0 +1,39 @@ |
+// 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_message_filter.h" |
+ |
+#include "content/browser/devtools/worker_devtools_manager.h" |
+#include "content/browser/message_port_message_filter.h" |
+#include "content/browser/worker_host/shared_worker_service_impl.h" |
+#include "content/common/devtools_messages.h" |
+#include "content/common/view_messages.h" |
+#include "content/common/worker_messages.h" |
+ |
+ |
+namespace content { |
+ |
+SharedWorkerMessageFilter::SharedWorkerMessageFilter( |
+ int render_process_id, |
+ ResourceContext* resource_context, |
+ const WorkerStoragePartition& partition, |
+ MessagePortMessageFilter* message_port_message_filter) { |
+ DCHECK(resource_context); |
+} |
+ |
+SharedWorkerMessageFilter::~SharedWorkerMessageFilter() { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+} |
+ |
+void SharedWorkerMessageFilter::OnChannelClosing() { |
+ // TODO(horo): implement this. |
+} |
+ |
+bool SharedWorkerMessageFilter::OnMessageReceived(const IPC::Message& message, |
+ bool* message_was_ok) { |
+ // TODO(horo): implement this. |
+ return false; |
+} |
+ |
+} // namespace content |