Index: content/common/indexed_db_message_filter.h |
diff --git a/content/common/indexed_db_message_filter.h b/content/common/indexed_db_message_filter.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bb5e879ce07dd2ed61a0311e20965680f5a40df0 |
--- /dev/null |
+++ b/content/common/indexed_db_message_filter.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2011 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 CONTENT_COMMON_INDEXED_DB_MESSAGE_FILTER_H_ |
+#define CONTENT_COMMON_INDEXED_DB_MESSAGE_FILTER_H_ |
+#pragma once |
+ |
+#include "ipc/ipc_channel_proxy.h" |
+ |
+class IndexedDBMessageFilter : public IPC::ChannelProxy::MessageFilter { |
+ public: |
+ IndexedDBMessageFilter(); |
+ |
+ // IPC::Channel::Listener implementation. |
+ virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
michaeln
2011/12/14 02:15:53
much nicer to see this class trimmed down to size
|
+ |
+ private: |
+ void DispatchMessage(const IPC::Message& msg); |
+ scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(IndexedDBMessageFilter); |
+}; |
+ |
+#endif // CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ |