summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authordgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 00:10:16 +0000
committerdgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 00:10:16 +0000
commit29ffc1d3e414afacbaff55b9ec74bbcccef6eb66 (patch)
treeaad65714c8ebf692751a3d77ddd02d42813fe8bd /chrome/common
parent37e18ca29b3712535da5b5eecb05ff2dc0be5e9e (diff)
downloadchromium_src-29ffc1d3e414afacbaff55b9ec74bbcccef6eb66.zip
chromium_src-29ffc1d3e414afacbaff55b9ec74bbcccef6eb66.tar.gz
chromium_src-29ffc1d3e414afacbaff55b9ec74bbcccef6eb66.tar.bz2
IndexedDB: fire versionchange events when calling setVersion
The webkit side is here: https://bugs.webkit.org/show_bug.cgi?id=55095 BUG=64049 TEST= Review URL: http://codereview.chromium.org/6596065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76666 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/indexed_db_messages.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/common/indexed_db_messages.h b/chrome/common/indexed_db_messages.h
index ef9e021..814a8e6 100644
--- a/chrome/common/indexed_db_messages.h
+++ b/chrome/common/indexed_db_messages.h
@@ -169,6 +169,9 @@ IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksComplete,
IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksTimeout,
int32 /* transaction_id */)
+IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksVersionChange,
+ int32, /* database_id */
+ string16) /* new_version */
// Indexed DB messages sent from the renderer to the browser.
@@ -269,9 +272,10 @@ IPC_SYNC_MESSAGE_CONTROL4_2(IndexedDBHostMsg_DatabaseTransaction,
int32, /* idb_transaction_id */
WebKit::WebExceptionCode /* ec */)
-// WebIDBDatabase::close() message.
-IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseOpen,
- int32 /* idb_database_id */)
+// WebIDBDatabase::open() message.
+IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseOpen,
+ int32, /* idb_database_id */
+ int32 /* response_id */)
// WebIDBDatabase::close() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose,
@@ -430,4 +434,3 @@ IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
// WebIDBTransaction::~WebIDBTransaction() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
int32 /* idb_transaction_id */)
-