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 <vector> | 7 #include <vector> |
8 | 8 |
9 #include "content/common/indexed_db/indexed_db_key.h" | 9 #include "content/common/indexed_db/indexed_db_key.h" |
10 #include "content/common/indexed_db/indexed_db_key_path.h" | 10 #include "content/common/indexed_db/indexed_db_key_path.h" |
11 #include "content/common/indexed_db/indexed_db_key_range.h" | 11 #include "content/common/indexed_db/indexed_db_key_range.h" |
12 #include "content/common/indexed_db/indexed_db_param_traits.h" | 12 #include "content/common/indexed_db/indexed_db_param_traits.h" |
13 #include "content/public/common/serialized_script_value.h" | 13 #include "content/public/common/serialized_script_value.h" |
14 #include "content/public/common/webkit_param_traits.h" | |
15 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
16 #include "ipc/ipc_param_traits.h" | 15 #include "ipc/ipc_param_traits.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBMetadata.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBMetadata.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" |
22 | 21 |
23 #define IPC_MESSAGE_START IndexedDBMsgStart | 22 #define IPC_MESSAGE_START IndexedDBMsgStart |
24 | 23 |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 IPC_STRUCT_BEGIN(IndexedDBObjectStoreMetadata) | 351 IPC_STRUCT_BEGIN(IndexedDBObjectStoreMetadata) |
353 IPC_STRUCT_MEMBER(string16, name) | 352 IPC_STRUCT_MEMBER(string16, name) |
354 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, keyPath) | 353 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, keyPath) |
355 IPC_STRUCT_MEMBER(bool, autoIncrement) | 354 IPC_STRUCT_MEMBER(bool, autoIncrement) |
356 IPC_STRUCT_MEMBER(std::vector<IndexedDBIndexMetadata>, indexes) | 355 IPC_STRUCT_MEMBER(std::vector<IndexedDBIndexMetadata>, indexes) |
357 IPC_STRUCT_END() | 356 IPC_STRUCT_END() |
358 | 357 |
359 IPC_STRUCT_BEGIN(IndexedDBDatabaseMetadata) | 358 IPC_STRUCT_BEGIN(IndexedDBDatabaseMetadata) |
360 IPC_STRUCT_MEMBER(string16, name) | 359 IPC_STRUCT_MEMBER(string16, name) |
361 IPC_STRUCT_MEMBER(string16, version) | 360 IPC_STRUCT_MEMBER(string16, version) |
362 IPC_STRUCT_MEMBER(int64_t, intVersion) | 361 IPC_STRUCT_MEMBER(int64, int_version) |
363 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores) | 362 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores) |
364 IPC_STRUCT_END() | 363 IPC_STRUCT_END() |
365 | 364 |
366 // WebIDBDatabase::metadata() message. | 365 // WebIDBDatabase::metadata() message. |
367 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseMetadata, | 366 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseMetadata, |
368 int32, /* idb_database_id */ | 367 int32, /* idb_database_id */ |
369 IndexedDBDatabaseMetadata /* metadata */) | 368 IndexedDBDatabaseMetadata /* metadata */) |
370 | 369 |
371 // WebIDBDatabase::createObjectStore() message. | 370 // WebIDBDatabase::createObjectStore() message. |
372 IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_DatabaseCreateObjectStore, | 371 IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_DatabaseCreateObjectStore, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 545 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
547 int32 /* idb_transaction_id */) | 546 int32 /* idb_transaction_id */) |
548 | 547 |
549 // IDBTransaction::DidCompleteTaskEvents() message. | 548 // IDBTransaction::DidCompleteTaskEvents() message. |
550 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 549 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
551 int32 /* idb_transaction_id */) | 550 int32 /* idb_transaction_id */) |
552 | 551 |
553 // WebIDBTransaction::~WebIDBTransaction() message. | 552 // WebIDBTransaction::~WebIDBTransaction() message. |
554 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 553 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
555 int32 /* idb_transaction_id */) | 554 int32 /* idb_transaction_id */) |
OLD | NEW |