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

Unified Diff: content/common/indexed_db_message_filter.h

Issue 8747002: Dispatch IndexedDB IPC messages to worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove some includes Created 9 years 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/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_

Powered by Google App Engine
This is Rietveld 408576698