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

Unified Diff: content/child/indexed_db/indexed_db_message_filter.h

Issue 17955002: Fix IndexedDB after r208777. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix unittests Created 7 years, 6 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/child/indexed_db/indexed_db_message_filter.h
===================================================================
--- content/child/indexed_db/indexed_db_message_filter.h (revision 208777)
+++ content/child/indexed_db/indexed_db_message_filter.h (working copy)
@@ -14,16 +14,13 @@
class MessageLoopProxy;
} // namespace base
-namespace IPC {
-class SyncMessageFilter;
-}
-
namespace content {
class IndexedDBDispatcher;
+class ThreadSafeSender;
class IndexedDBMessageFilter : public IPC::ChannelProxy::MessageFilter {
public:
- explicit IndexedDBMessageFilter(IPC::SyncMessageFilter* sync_message_filter);
+ explicit IndexedDBMessageFilter(ThreadSafeSender* thread_safe_sender);
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
@@ -42,7 +39,7 @@
void OnStaleUpgradeNeeded(const IndexedDBMsg_CallbacksUpgradeNeeded_Params&);
scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
- scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
+ scoped_refptr<ThreadSafeSender> thread_safe_sender_;
DISALLOW_COPY_AND_ASSIGN(IndexedDBMessageFilter);
};
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher_unittest.cc ('k') | content/child/indexed_db/indexed_db_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698