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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.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
Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
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 d24504b3672fe4cf04b9853bd2b2145759a6bc55..ae5c07dad5b2abb65df5e1eb60677160ccbfb5e4 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
@@ -313,7 +313,6 @@ bool IndexedDBDispatcherHost::DatabaseDispatcherHost::OnMessageReceived(
OnCreateObjectStore)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseDeleteObjectStore,
OnDeleteObjectStore)
- IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseSetVersion, OnSetVersion)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseTransaction, OnTransaction)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseClose, OnClose)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseDestroyed, OnDestroyed)
@@ -405,26 +404,6 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnDeleteObjectStore(
idb_database->deleteObjectStore(index_id, *idb_transaction, *ec);
}
-void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnSetVersion(
- int32 idb_database_id,
- int32 thread_id,
- int32 response_id,
- const string16& version,
- WebKit::WebExceptionCode* ec) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
- WebIDBDatabase* idb_database = parent_->GetOrTerminateProcess(
- &map_, idb_database_id);
- if (!idb_database)
- return;
-
- *ec = 0;
- idb_database->setVersion(
- version,
- new IndexedDBCallbacksTransaction(parent_, thread_id, response_id,
- database_url_map_[idb_database_id]),
- *ec);
-}
-
void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnTransaction(
int32 thread_id,
int32 idb_database_id,
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.h ('k') | content/common/indexed_db/indexed_db_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698