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 <string> |
7 #include <utility> | 8 #include <utility> |
8 #include <vector> | 9 #include <vector> |
9 | 10 |
10 #include "content/common/indexed_db/indexed_db_key.h" | 11 #include "content/common/indexed_db/indexed_db_key.h" |
11 #include "content/common/indexed_db/indexed_db_key_path.h" | 12 #include "content/common/indexed_db/indexed_db_key_path.h" |
12 #include "content/common/indexed_db/indexed_db_key_range.h" | 13 #include "content/common/indexed_db/indexed_db_key_range.h" |
13 #include "content/common/indexed_db/indexed_db_param_traits.h" | 14 #include "content/common/indexed_db/indexed_db_param_traits.h" |
14 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
15 #include "ipc/ipc_param_traits.h" | 16 #include "ipc/ipc_param_traits.h" |
16 #include "third_party/WebKit/public/platform/WebIDBCursor.h" | 17 #include "third_party/WebKit/public/platform/WebIDBCursor.h" |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 base::string16) /* message */ | 412 base::string16) /* message */ |
412 IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksComplete, | 413 IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksComplete, |
413 int32, /* ipc_thread_id */ | 414 int32, /* ipc_thread_id */ |
414 int32, /* ipc_database_callbacks_id */ | 415 int32, /* ipc_database_callbacks_id */ |
415 int64) /* transaction_id */ | 416 int64) /* transaction_id */ |
416 | 417 |
417 // Indexed DB messages sent from the renderer to the browser. | 418 // Indexed DB messages sent from the renderer to the browser. |
418 | 419 |
419 // WebIDBCursor::advance() message. | 420 // WebIDBCursor::advance() message. |
420 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_CursorAdvance, | 421 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_CursorAdvance, |
421 int32, /* ipc_cursor_id */ | 422 int32, /* ipc_cursor_id */ |
422 int32, /* ipc_thread_id */ | 423 int32, /* ipc_thread_id */ |
423 int32, /* ipc_callbacks_id */ | 424 int32, /* ipc_callbacks_id */ |
424 unsigned long) /* count */ | 425 uint32) /* count */ |
425 | 426 |
426 // WebIDBCursor::continue() message. | 427 // WebIDBCursor::continue() message. |
427 IPC_MESSAGE_CONTROL5(IndexedDBHostMsg_CursorContinue, | 428 IPC_MESSAGE_CONTROL5(IndexedDBHostMsg_CursorContinue, |
428 int32, /* ipc_cursor_id */ | 429 int32, /* ipc_cursor_id */ |
429 int32, /* ipc_thread_id */ | 430 int32, /* ipc_thread_id */ |
430 int32, /* ipc_callbacks_id */ | 431 int32, /* ipc_callbacks_id */ |
431 content::IndexedDBKey, /* key */ | 432 content::IndexedDBKey, /* key */ |
432 content::IndexedDBKey) /* primary_key */ | 433 content::IndexedDBKey) /* primary_key */ |
433 | 434 |
434 // WebIDBCursor::prefetchContinue() message. | 435 // WebIDBCursor::prefetchContinue() message. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 int64) /* transaction_id */ | 538 int64) /* transaction_id */ |
538 | 539 |
539 // WebIDBDatabase::commit() message. | 540 // WebIDBDatabase::commit() message. |
540 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, | 541 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, |
541 int32, /* ipc_database_id */ | 542 int32, /* ipc_database_id */ |
542 int64) /* transaction_id */ | 543 int64) /* transaction_id */ |
543 | 544 |
544 // WebIDBDatabase::~WebIDBCursor() message. | 545 // WebIDBDatabase::~WebIDBCursor() message. |
545 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, | 546 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, |
546 int32 /* ipc_cursor_id */) | 547 int32 /* ipc_cursor_id */) |
OLD | NEW |