OLD | NEW |
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 <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 IPC_STRUCT_MEMBER(base::string16, name) | 334 IPC_STRUCT_MEMBER(base::string16, name) |
335 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, key_path) | 335 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, key_path) |
336 IPC_STRUCT_MEMBER(bool, auto_increment) | 336 IPC_STRUCT_MEMBER(bool, auto_increment) |
337 IPC_STRUCT_MEMBER(int64_t, max_index_id) | 337 IPC_STRUCT_MEMBER(int64_t, max_index_id) |
338 IPC_STRUCT_MEMBER(std::vector<IndexedDBIndexMetadata>, indexes) | 338 IPC_STRUCT_MEMBER(std::vector<IndexedDBIndexMetadata>, indexes) |
339 IPC_STRUCT_END() | 339 IPC_STRUCT_END() |
340 | 340 |
341 IPC_STRUCT_BEGIN(IndexedDBDatabaseMetadata) | 341 IPC_STRUCT_BEGIN(IndexedDBDatabaseMetadata) |
342 IPC_STRUCT_MEMBER(int64_t, id) | 342 IPC_STRUCT_MEMBER(int64_t, id) |
343 IPC_STRUCT_MEMBER(base::string16, name) | 343 IPC_STRUCT_MEMBER(base::string16, name) |
344 IPC_STRUCT_MEMBER(int64_t, int_version) | 344 IPC_STRUCT_MEMBER(int64_t, version) |
345 IPC_STRUCT_MEMBER(int64_t, max_object_store_id) | 345 IPC_STRUCT_MEMBER(int64_t, max_object_store_id) |
346 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores) | 346 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores) |
347 IPC_STRUCT_END() | 347 IPC_STRUCT_END() |
348 | 348 |
349 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksUpgradeNeeded_Params) | 349 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksUpgradeNeeded_Params) |
350 IPC_STRUCT_MEMBER(int32_t, ipc_thread_id) | 350 IPC_STRUCT_MEMBER(int32_t, ipc_thread_id) |
351 IPC_STRUCT_MEMBER(int32_t, ipc_callbacks_id) | 351 IPC_STRUCT_MEMBER(int32_t, ipc_callbacks_id) |
352 IPC_STRUCT_MEMBER(int32_t, ipc_database_callbacks_id) | 352 IPC_STRUCT_MEMBER(int32_t, ipc_database_callbacks_id) |
353 IPC_STRUCT_MEMBER(int32_t, ipc_database_id) | 353 IPC_STRUCT_MEMBER(int32_t, ipc_database_id) |
354 IPC_STRUCT_MEMBER(int64_t, old_version) | 354 IPC_STRUCT_MEMBER(int64_t, old_version) |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 int32_t /* ipc_thread_id */, | 416 int32_t /* ipc_thread_id */, |
417 int32_t /* ipc_callbacks_id */, | 417 int32_t /* ipc_callbacks_id */, |
418 int64_t /* existing_version */) | 418 int64_t /* existing_version */) |
419 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksUpgradeNeeded, | 419 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksUpgradeNeeded, |
420 IndexedDBMsg_CallbacksUpgradeNeeded_Params) | 420 IndexedDBMsg_CallbacksUpgradeNeeded_Params) |
421 | 421 |
422 // IDBDatabaseCallback message handlers | 422 // IDBDatabaseCallback message handlers |
423 IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksForcedClose, | 423 IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksForcedClose, |
424 int32_t, /* ipc_thread_id */ | 424 int32_t, /* ipc_thread_id */ |
425 int32_t) /* ipc_database_callbacks_id */ | 425 int32_t) /* ipc_database_callbacks_id */ |
426 IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksIntVersionChange, | 426 IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksVersionChange, |
427 int32_t, /* ipc_thread_id */ | 427 int32_t, /* ipc_thread_id */ |
428 int32_t, /* ipc_database_callbacks_id */ | 428 int32_t, /* ipc_database_callbacks_id */ |
429 int64_t, /* old_version */ | 429 int64_t, /* old_version */ |
430 int64_t) /* new_version */ | 430 int64_t) /* new_version */ |
431 IPC_MESSAGE_CONTROL5(IndexedDBMsg_DatabaseCallbacksAbort, | 431 IPC_MESSAGE_CONTROL5(IndexedDBMsg_DatabaseCallbacksAbort, |
432 int32_t, /* ipc_thread_id */ | 432 int32_t, /* ipc_thread_id */ |
433 int32_t, /* ipc_database_callbacks_id */ | 433 int32_t, /* ipc_database_callbacks_id */ |
434 int64_t, /* transaction_id */ | 434 int64_t, /* transaction_id */ |
435 int, /* code */ | 435 int, /* code */ |
436 base::string16) /* message */ | 436 base::string16) /* message */ |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 int64_t) /* transaction_id */ | 570 int64_t) /* transaction_id */ |
571 | 571 |
572 // WebIDBDatabase::commit() message. | 572 // WebIDBDatabase::commit() message. |
573 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, | 573 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, |
574 int32_t, /* ipc_database_id */ | 574 int32_t, /* ipc_database_id */ |
575 int64_t) /* transaction_id */ | 575 int64_t) /* transaction_id */ |
576 | 576 |
577 // WebIDBDatabase::~WebIDBCursor() message. | 577 // WebIDBDatabase::~WebIDBCursor() message. |
578 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, | 578 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, |
579 int32_t /* ipc_cursor_id */) | 579 int32_t /* ipc_cursor_id */) |
OLD | NEW |