summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorandreip@chromium.org <andreip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-23 10:01:52 +0000
committerandreip@chromium.org <andreip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-23 10:01:52 +0000
commited2aa501a278b67da52e9460b77eb9c52547f24b (patch)
tree0737c45dbd0623cf8debcb6b918e064effc339e9 /chrome/common
parent293a8fcd465165d0f35ff32db8417330e7f9bdce (diff)
downloadchromium_src-ed2aa501a278b67da52e9460b77eb9c52547f24b.zip
chromium_src-ed2aa501a278b67da52e9460b77eb9c52547f24b.tar.gz
chromium_src-ed2aa501a278b67da52e9460b77eb9c52547f24b.tar.bz2
Fix compilation errors of 56862 by
- making the include path lower case in renderer_webidbransaction_impl.cc, - adding a newline at the end of indexed_db_dispatcher.cc - fixing the initialization order of member variables in indexed_db_callbacks.h Revert "Revert 56862 - Add transaction coordinator. Allow idle transactions to be aborted when their parent JS context finishes executing." This reverts commit 6b25a433481c9127f8dbcbadc7f0685dc643d6de. Review URL: http://codereview.chromium.org/3163028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages_internal.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 4a15201..5bfb341 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -874,6 +874,10 @@ IPC_BEGIN_MESSAGES(View)
int /* code */,
string16 /* message */)
+ // IDBTransactionCallback message handlers.
+ IPC_MESSAGE_CONTROL1(ViewMsg_IDBTransactionCallbacksAbort,
+ int /* transaction_id */)
+
#if defined(IPC_MESSAGE_LOG_ENABLED)
// Tell the renderer process to begin or end IPC message logging.
IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled,
@@ -2286,6 +2290,10 @@ IPC_BEGIN_MESSAGES(ViewHost)
IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBFactoryOpen,
ViewHostMsg_IDBFactoryOpen_Params)
+ // WebIDBFactory::abortPendingTransactions() message.
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBFactoryAbortPendingTransactions,
+ std::vector<int32> /* transaction_ids */)
+
// WebIDBDatabase::name() message.
IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseName,
int32, /* idb_database_id */
@@ -2324,6 +2332,18 @@ IPC_BEGIN_MESSAGES(ViewHost)
int32, /* response_id */
string16 /* name */)
+ // WebIDBDatabase::transaction() message.
+ // TODO: make this message async. Have the renderer create a
+ // temporary ID and keep a map in the browser process of real
+ // IDs to temporary IDs. We can then update the transaction
+ // to its real ID asynchronously.
+ IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBDatabaseTransaction,
+ int32, /* idb_database_id */
+ std::vector<string16>, /* object_stores */
+ int32, /* mode */
+ int32, /* timeout */
+ int32 /* idb_transaction_id */)
+
// WebIDBDatabase::~WebIDBDatabase() message.
IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBDatabaseDestroyed,
int32 /* idb_database_id */)
@@ -2411,6 +2431,10 @@ IPC_BEGIN_MESSAGES(ViewHost)
IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBCursorDestroyed,
int32 /* idb_cursor_id */)
+ // WebIDBTransaction::~WebIDBTransaction() message.
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDestroyed,
+ int32 /* idb_index_id */)
+
// Get file size in bytes. Set result to -1 if failed to get the file size.
IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize,
FilePath /* path */,