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

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

Issue 2438233004: Make IndexedDBConnection IDs independent from the IPC database ID. (Closed)
Patch Set: Created 4 years, 2 months 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 unified diff | Download patch
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessUndefined, 354 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessUndefined,
355 int32_t /* ipc_thread_id */, 355 int32_t /* ipc_thread_id */,
356 int32_t /* ipc_callbacks_id */) 356 int32_t /* ipc_callbacks_id */)
357 IPC_MESSAGE_CONTROL4(IndexedDBMsg_CallbacksError, 357 IPC_MESSAGE_CONTROL4(IndexedDBMsg_CallbacksError,
358 int32_t /* ipc_thread_id */, 358 int32_t /* ipc_thread_id */,
359 int32_t /* ipc_callbacks_id */, 359 int32_t /* ipc_callbacks_id */,
360 int /* code */, 360 int /* code */,
361 base::string16 /* message */) 361 base::string16 /* message */)
362 362
363 // IDBDatabaseCallback message handlers 363 // IDBDatabaseCallback message handlers
364 IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksChanges, 364 IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksChanges,
365 int32_t, /* ipc_thread_id */ 365 int32_t, /* ipc_thread_id */
366 int32_t, /* ipc_database_id */
367 IndexedDBMsg_ObserverChanges) 366 IndexedDBMsg_ObserverChanges)
368 367
369 // Indexed DB messages sent from the renderer to the browser. 368 // Indexed DB messages sent from the renderer to the browser.
370 369
371 // WebIDBCursor::advance() message. 370 // WebIDBCursor::advance() message.
372 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_CursorAdvance, 371 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_CursorAdvance,
373 int32_t, /* ipc_cursor_id */ 372 int32_t, /* ipc_cursor_id */
374 int32_t, /* ipc_thread_id */ 373 int32_t, /* ipc_thread_id */
375 int32_t, /* ipc_callbacks_id */ 374 int32_t, /* ipc_callbacks_id */
376 uint32_t) /* count */ 375 uint32_t) /* count */
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 int64_t) /* transaction_id */ 508 int64_t) /* transaction_id */
510 509
511 // WebIDBDatabase::commit() message. 510 // WebIDBDatabase::commit() message.
512 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, 511 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit,
513 int32_t, /* ipc_database_id */ 512 int32_t, /* ipc_database_id */
514 int64_t) /* transaction_id */ 513 int64_t) /* transaction_id */
515 514
516 // WebIDBDatabase::~WebIDBCursor() message. 515 // WebIDBDatabase::~WebIDBCursor() message.
517 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, 516 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed,
518 int32_t /* ipc_cursor_id */) 517 int32_t /* ipc_cursor_id */)
OLDNEW
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698