Index: content/browser/in_process_webkit/indexed_db_callbacks.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_callbacks.cc b/content/browser/in_process_webkit/indexed_db_callbacks.cc |
index d3d74ed7693540b2f9803fe89363308a68d362c2..4f7fe94f38e506c3441c08c717342e8cfa9f0d1d 100644 |
--- a/content/browser/in_process_webkit/indexed_db_callbacks.cc |
+++ b/content/browser/in_process_webkit/indexed_db_callbacks.cc |
@@ -49,22 +49,6 @@ IndexedDBCallbacksDatabase::IndexedDBCallbacksDatabase( |
} |
void IndexedDBCallbacksDatabase::onSuccess( |
- WebKit::WebIDBDatabase* idb_object) { |
- int32 ipc_object_id = ipc_database_id_; |
- if (ipc_object_id == kDatabaseNotAdded) { |
- ipc_object_id = dispatcher_host()->Add(idb_object, ipc_thread_id(), |
- origin_url_); |
- } else { |
- // We already have this database and don't need a new copy of it. |
- delete idb_object; |
- } |
- dispatcher_host()->Send( |
- new IndexedDBMsg_CallbacksSuccessIDBDatabaseOld(ipc_thread_id(), |
- ipc_response_id(), |
- ipc_object_id)); |
-} |
- |
-void IndexedDBCallbacksDatabase::onSuccess( |
WebKit::WebIDBDatabase* idb_object, |
const WebKit::WebIDBMetadata& metadata) { |
int32 ipc_object_id = ipc_database_id_; |
@@ -87,21 +71,6 @@ void IndexedDBCallbacksDatabase::onSuccess( |
void IndexedDBCallbacksDatabase::onUpgradeNeeded( |
long long old_version, |
- WebKit::WebIDBTransaction*, |
- WebKit::WebIDBDatabase* database) { |
- dispatcher_host()->RegisterTransactionId(host_transaction_id_, origin_url_); |
- int32 ipc_database_id = dispatcher_host()->Add(database, ipc_thread_id(), |
- origin_url_); |
- ipc_database_id_ = ipc_database_id; |
- dispatcher_host()->Send( |
- new IndexedDBMsg_CallbacksUpgradeNeededOld( |
- ipc_thread_id(), ipc_response_id(), |
- ipc_database_id, |
- old_version)); |
-} |
- |
-void IndexedDBCallbacksDatabase::onUpgradeNeeded( |
- long long old_version, |
WebKit::WebIDBDatabase* database, |
const WebKit::WebIDBMetadata& metadata) { |
dispatcher_host()->RegisterTransactionId(host_transaction_id_, origin_url_); |