Index: content/child/indexed_db/indexed_db_message_filter.cc |
diff --git a/content/child/indexed_db/indexed_db_message_filter.cc b/content/child/indexed_db/indexed_db_message_filter.cc |
index 2a76f58abf16fb04f8ae54d3786d836d5eacaff1..6b3fd9ef83470e6380e110a6b24e6561908eac4c 100644 |
--- a/content/child/indexed_db/indexed_db_message_filter.cc |
+++ b/content/child/indexed_db/indexed_db_message_filter.cc |
@@ -6,7 +6,6 @@ |
#include "content/child/indexed_db/indexed_db_dispatcher.h" |
#include "content/child/thread_safe_sender.h" |
-#include "content/common/indexed_db/indexed_db_constants.h" |
#include "content/common/indexed_db/indexed_db_messages.h" |
namespace content { |
@@ -35,31 +34,4 @@ bool IndexedDBMessageFilter::GetWorkerThreadIdForMessage( |
return base::PickleIterator(msg).ReadInt(ipc_thread_id); |
} |
-void IndexedDBMessageFilter::OnStaleMessageReceived(const IPC::Message& msg) { |
- IPC_BEGIN_MESSAGE_MAP(IndexedDBMessageFilter, msg) |
- IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessIDBDatabase, |
- OnStaleSuccessIDBDatabase) |
- IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksUpgradeNeeded, |
- OnStaleUpgradeNeeded) |
- IPC_END_MESSAGE_MAP() |
-} |
- |
-void IndexedDBMessageFilter::OnStaleSuccessIDBDatabase( |
- int32_t ipc_thread_id, |
- int32_t ipc_callbacks_id, |
- int32_t ipc_database_callbacks_id, |
- int32_t ipc_database_id, |
- const IndexedDBDatabaseMetadata& idb_metadata) { |
- if (ipc_database_id == kNoDatabase) |
- return; |
- thread_safe_sender()->Send( |
- new IndexedDBHostMsg_DatabaseClose(ipc_database_id)); |
-} |
- |
-void IndexedDBMessageFilter::OnStaleUpgradeNeeded( |
- const IndexedDBMsg_CallbacksUpgradeNeeded_Params& p) { |
- thread_safe_sender()->Send( |
- new IndexedDBHostMsg_DatabaseClose(p.ipc_database_id)); |
-} |
- |
} // namespace content |