summaryrefslogtreecommitdiffstats
path: root/content/browser
diff options
context:
space:
mode:
authorjsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-09 18:54:36 +0000
committerjsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-09 18:54:36 +0000
commit30e4a8d4a255c551f654d720d2a83c4c875de40a (patch)
tree4d944612116ae3daf895760a64e94e7587274d64 /content/browser
parent8f726b280802feac11774eb1e30afce33c6964ea (diff)
downloadchromium_src-30e4a8d4a255c551f654d720d2a83c4c875de40a.zip
chromium_src-30e4a8d4a255c551f654d720d2a83c4c875de40a.tar.gz
chromium_src-30e4a8d4a255c551f654d720d2a83c4c875de40a.tar.bz2
IndexedDB: Purge IPC plumbing for WebIDBCursor::direction()
Following http://trac.webkit.org/changeset/121612 it is no longer necessary for the IDBCursor back end to handle direction() requests, so the IPC plumbing can be deleted. Review URL: https://chromiumcodereview.appspot.com/10696081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r--content/browser/in_process_webkit/indexed_db_dispatcher_host.cc10
-rw-r--r--content/browser/in_process_webkit/indexed_db_dispatcher_host.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
index 080a564..bf9ebf7 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
@@ -886,7 +886,6 @@ bool IndexedDBDispatcherHost::CursorDispatcherHost::OnMessageReceived(
bool handled = true;
IPC_BEGIN_MESSAGE_MAP_EX(IndexedDBDispatcherHost::CursorDispatcherHost,
message, *msg_is_ok)
- IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorDirection, OnDirection)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorUpdate, OnUpdate)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorAdvance, OnAdvance)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorContinue, OnContinue)
@@ -905,15 +904,6 @@ void IndexedDBDispatcherHost::CursorDispatcherHost::Send(
parent_->Send(message);
}
-void IndexedDBDispatcherHost::CursorDispatcherHost::OnDirection(
- int32 object_id, int32* direction) {
- WebIDBCursor* idb_cursor = parent_->GetOrTerminateProcess(&map_, object_id);
- if (!idb_cursor)
- return;
-
- *direction = idb_cursor->direction();
-}
-
void IndexedDBDispatcherHost::CursorDispatcherHost::OnKey(
int32 object_id, IndexedDBKey* key) {
WebIDBCursor* idb_cursor = parent_->GetOrTerminateProcess(&map_, object_id);
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
index c9f7de11..8bfa238 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
@@ -237,7 +237,6 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok);
void Send(IPC::Message* message);
- void OnDirection(int32 idb_object_store_id, int32* direction);
void OnKey(int32 idb_object_store_id, content::IndexedDBKey* key);
void OnPrimaryKey(int32 idb_object_store_id,
content::IndexedDBKey* primary_key);