Chromium Code Reviews

Side by Side Diff: content/common/indexed_db_messages.h

Issue 8747002: Dispatch IndexedDB IPC messages to worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: repurpose obsolete indexed-db switch to control idb on workers Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "content/common/indexed_db_key.h" 9 #include "content/common/indexed_db_key.h"
10 #include "content/common/indexed_db_param_traits.h" 10 #include "content/common/indexed_db_param_traits.h"
(...skipping 158 matching lines...)
169 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksBlocked, 169 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksBlocked,
170 int32 /* response_id */) 170 int32 /* response_id */)
171 171
172 // IDBTransactionCallback message handlers. 172 // IDBTransactionCallback message handlers.
173 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksAbort, 173 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksAbort,
174 int32 /* transaction_id */) 174 int32 /* transaction_id */)
175 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksComplete, 175 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksComplete,
176 int32 /* transaction_id */) 176 int32 /* transaction_id */)
177 177
178 IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksVersionChange, 178 IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksVersionChange,
179 int32, /* database_id */ 179 int32, /* response_id */
180 string16) /* new_version */ 180 string16) /* new_version */
181 181
182 // Indexed DB messages sent from the renderer to the browser. 182 // Indexed DB messages sent from the renderer to the browser.
183 183
184 // WebIDBCursor::direction() message. 184 // WebIDBCursor::direction() message.
185 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_CursorDirection, 185 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_CursorDirection,
186 int32, /* idb_cursor_id */ 186 int32, /* idb_cursor_id */
187 int32 /* direction */) 187 int32 /* direction */)
188 188
189 // WebIDBCursor::update() message. 189 // WebIDBCursor::update() message.
(...skipping 230 matching lines...)
420 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 420 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
421 int32 /* idb_transaction_id */) 421 int32 /* idb_transaction_id */)
422 422
423 // IDBTransaction::DidCompleteTaskEvents() message. 423 // IDBTransaction::DidCompleteTaskEvents() message.
424 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 424 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
425 int32 /* idb_transaction_id */) 425 int32 /* idb_transaction_id */)
426 426
427 // WebIDBTransaction::~WebIDBTransaction() message. 427 // WebIDBTransaction::~WebIDBTransaction() message.
428 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 428 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
429 int32 /* idb_transaction_id */) 429 int32 /* idb_transaction_id */)
OLDNEW

Powered by Google App Engine