diff options
author | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-21 02:49:59 +0000 |
---|---|---|
committer | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-21 02:49:59 +0000 |
commit | 81638b8150174bb53e6625d1b15b31d07cc3ffe2 (patch) | |
tree | 0a3efb098a3ff9ac63ea274c9beebdd1893c2ec9 /content/common | |
parent | 8c4b1195e03bf0acedb5c966c891a9d54a707d8c (diff) | |
download | chromium_src-81638b8150174bb53e6625d1b15b31d07cc3ffe2.zip chromium_src-81638b8150174bb53e6625d1b15b31d07cc3ffe2.tar.gz chromium_src-81638b8150174bb53e6625d1b15b31d07cc3ffe2.tar.bz2 |
IndexedDB: Remove unused plumbing for string version changes
Just deleting dead code.
BUG=222067
Review URL: https://chromiumcodereview.appspot.com/12939002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/indexed_db/indexed_db_dispatcher.cc | 15 | ||||
-rw-r--r-- | content/common/indexed_db/indexed_db_dispatcher.h | 3 | ||||
-rw-r--r-- | content/common/indexed_db/indexed_db_messages.h | 5 |
3 files changed, 0 insertions, 23 deletions
diff --git a/content/common/indexed_db/indexed_db_dispatcher.cc b/content/common/indexed_db/indexed_db_dispatcher.cc index 4844b74..1a14bff 100644 --- a/content/common/indexed_db/indexed_db_dispatcher.cc +++ b/content/common/indexed_db/indexed_db_dispatcher.cc @@ -159,8 +159,6 @@ void IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) { OnForcedClose) IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksIntVersionChange, OnIntVersionChange) - IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksVersionChange, - OnVersionChange) IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksAbort, OnAbort) IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksComplete, OnComplete) IPC_MESSAGE_UNHANDLED(handled = false) @@ -769,19 +767,6 @@ void IndexedDBDispatcher::OnIntVersionChange(int32 ipc_thread_id, callbacks->onVersionChange(old_version, new_version); } -void IndexedDBDispatcher::OnVersionChange(int32 ipc_thread_id, - int32 ipc_database_id, - const string16& newVersion) { - DCHECK_EQ(ipc_thread_id, CurrentWorkerId()); - WebIDBDatabaseCallbacks* callbacks = - pending_database_callbacks_.Lookup(ipc_database_id); - // callbacks would be NULL if a versionchange event is received after close - // has been called. - if (!callbacks) - return; - callbacks->onVersionChange(newVersion); -} - void IndexedDBDispatcher::ResetCursorPrefetchCaches( int32 ipc_exception_cursor_id) { typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator; diff --git a/content/common/indexed_db/indexed_db_dispatcher.h b/content/common/indexed_db/indexed_db_dispatcher.h index ad5c7f0..5c972b3 100644 --- a/content/common/indexed_db/indexed_db_dispatcher.h +++ b/content/common/indexed_db/indexed_db_dispatcher.h @@ -250,9 +250,6 @@ class CONTENT_EXPORT IndexedDBDispatcher int32 ipc_database_id, int64 transaction_id); void OnForcedClose(int32 ipc_thread_id, int32 ipc_database_id); - void OnVersionChange(int32 ipc_thread_id, - int32 ipc_database_id, - const string16& newVersion); void OnIntVersionChange(int32 ipc_thread_id, int32 ipc_database_id, int64 old_version, diff --git a/content/common/indexed_db/indexed_db_messages.h b/content/common/indexed_db/indexed_db_messages.h index 870d2cd..805cccb 100644 --- a/content/common/indexed_db/indexed_db_messages.h +++ b/content/common/indexed_db/indexed_db_messages.h @@ -354,11 +354,6 @@ IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksUpgradeNeeded, IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksForcedClose, int32, /* ipc_thread_id */ int32) /* ipc_database_id */ -IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksVersionChange, - int32, /* ipc_thread_id */ - int32, /* ipc_database_id */ - string16) /* new_version */ - IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksIntVersionChange, int32, /* ipc_thread_id */ int32, /* ipc_database_id */ |