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

Unified Diff: content/common/child_thread.h

Issue 8747002: Dispatch IndexedDB IPC messages to worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: inject thread ids into ipcs Created 9 years, 1 month 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
« no previous file with comments | « no previous file | content/common/child_thread.cc » ('j') | content/common/worker_task_runner.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_thread.h
diff --git a/content/common/child_thread.h b/content/common/child_thread.h
index a2b98640cf1115df5f03fabe7135ed59007be123..f424d6417a6dcef8792eff60b0ea392571e7a19e 100644
--- a/content/common/child_thread.h
+++ b/content/common/child_thread.h
@@ -14,10 +14,13 @@
#include "webkit/glue/resource_loader_bridge.h"
class FileSystemDispatcher;
+class IndexedDBDispatcher;
+class IndexedDBMessageFilter;
class MessageLoop;
class QuotaDispatcher;
class ResourceDispatcher;
class SocketStreamDispatcher;
+class WorkerTaskRunner;
namespace IPC {
class SyncChannel;
@@ -79,6 +82,9 @@ class CONTENT_EXPORT ChildThread : public IPC::Channel::Listener,
// Returns the one child thread.
static ChildThread* current();
+ WorkerTaskRunner* worker_task_runner() const;
+ IndexedDBDispatcher* indexed_db_dispatcher() const;
+
protected:
friend class ChildProcess;
@@ -136,6 +142,10 @@ class CONTENT_EXPORT ChildThread : public IPC::Channel::Listener,
scoped_ptr<QuotaDispatcher> quota_dispatcher_;
+ scoped_refptr<IndexedDBMessageFilter> idb_message_filter_;
+
+ scoped_refptr<WorkerTaskRunner> worker_task_runner_;
+
DISALLOW_COPY_AND_ASSIGN(ChildThread);
};
« no previous file with comments | « no previous file | content/common/child_thread.cc » ('j') | content/common/worker_task_runner.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698