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

Unified Diff: content/common/indexed_db/indexed_db_dispatcher.cc

Issue 11316205: Remove setVersion plumbing from chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « content/common/indexed_db/indexed_db_dispatcher.h ('k') | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/indexed_db_dispatcher.cc
diff --git a/content/common/indexed_db/indexed_db_dispatcher.cc b/content/common/indexed_db/indexed_db_dispatcher.cc
index b666afe444514f0127de73e60bfaa824b03cca11..b52da0778b061e4328b7654f2350906b79858e74 100644
--- a/content/common/indexed_db/indexed_db_dispatcher.cc
+++ b/content/common/indexed_db/indexed_db_dispatcher.cc
@@ -101,8 +101,6 @@ void IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) {
OnSuccessIDBDatabase)
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessIndexedDBKey,
OnSuccessIndexedDBKey)
- IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessIDBTransaction,
- OnSuccessIDBTransaction)
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessStringList,
OnSuccessStringList)
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessSerializedScriptValue,
@@ -278,22 +276,6 @@ void IndexedDBDispatcher::RequestIDBDatabaseClose(int32 idb_database_id) {
pending_database_callbacks_.Remove(idb_database_id);
}
-void IndexedDBDispatcher::RequestIDBDatabaseSetVersion(
- const string16& version,
- WebIDBCallbacks* callbacks_ptr,
- int32 idb_database_id,
- WebExceptionCode* ec) {
- ResetCursorPrefetchCaches();
- scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
-
- int32 response_id = pending_callbacks_.Add(callbacks.release());
- Send(new IndexedDBHostMsg_DatabaseSetVersion(idb_database_id,
- CurrentWorkerId(),
- response_id, version, ec));
- if (*ec)
- pending_callbacks_.Remove(response_id);
-}
-
void IndexedDBDispatcher::RequestIDBIndexOpenObjectCursor(
const WebIDBKeyRange& idb_key_range,
unsigned short direction,
@@ -544,17 +526,6 @@ void IndexedDBDispatcher::OnSuccessIndexedDBKey(
pending_callbacks_.Remove(response_id);
}
-void IndexedDBDispatcher::OnSuccessIDBTransaction(int32 thread_id,
- int32 response_id,
- int32 object_id) {
- DCHECK_EQ(thread_id, CurrentWorkerId());
- WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(response_id);
- if (!callbacks)
- return;
- callbacks->onSuccess(new RendererWebIDBTransactionImpl(object_id));
- pending_callbacks_.Remove(response_id);
-}
-
void IndexedDBDispatcher::OnSuccessStringList(
int32 thread_id, int32 response_id, const std::vector<string16>& value) {
DCHECK_EQ(thread_id, CurrentWorkerId());
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.h ('k') | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698