| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1700 unsigned /* index */, | 1700 unsigned /* index */, |
| 1701 NullableString16 /* key */) | 1701 NullableString16 /* key */) |
| 1702 | 1702 |
| 1703 // Get a value based on a key from a storage area. | 1703 // Get a value based on a key from a storage area. |
| 1704 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageGetItem, | 1704 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageGetItem, |
| 1705 int64 /* storage_area_id */, | 1705 int64 /* storage_area_id */, |
| 1706 string16 /* key */, | 1706 string16 /* key */, |
| 1707 NullableString16 /* value */) | 1707 NullableString16 /* value */) |
| 1708 | 1708 |
| 1709 // Set a value that's associated with a key in a storage area. | 1709 // Set a value that's associated with a key in a storage area. |
| 1710 IPC_MESSAGE_CONTROL3(ViewHostMsg_DOMStorageSetItem, | 1710 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_DOMStorageSetItem, |
| 1711 int64 /* storage_area_id */, | 1711 int64 /* storage_area_id */, |
| 1712 string16 /* key */, | 1712 string16 /* key */, |
| 1713 string16 /* value */) | 1713 string16 /* value */, |
| 1714 bool /* quota_exception */) |
| 1714 | 1715 |
| 1715 // Remove the value associated with a key in a storage area. | 1716 // Remove the value associated with a key in a storage area. |
| 1716 IPC_MESSAGE_CONTROL2(ViewHostMsg_DOMStorageRemoveItem, | 1717 IPC_MESSAGE_CONTROL2(ViewHostMsg_DOMStorageRemoveItem, |
| 1717 int64 /* storage_area_id */, | 1718 int64 /* storage_area_id */, |
| 1718 string16 /* key */) | 1719 string16 /* key */) |
| 1719 | 1720 |
| 1720 // Clear the storage area. | 1721 // Clear the storage area. |
| 1721 IPC_MESSAGE_CONTROL1(ViewHostMsg_DOMStorageClear, | 1722 IPC_MESSAGE_CONTROL1(ViewHostMsg_DOMStorageClear, |
| 1722 int64 /* storage_area_id */) | 1723 int64 /* storage_area_id */) |
| 1723 | 1724 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1784 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1785 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
| 1785 FilePath /* the name of the file */, | 1786 FilePath /* the name of the file */, |
| 1786 int32 /* a unique message ID */) | 1787 int32 /* a unique message ID */) |
| 1787 | 1788 |
| 1788 // Asks the browser process to return the size of a DB file | 1789 // Asks the browser process to return the size of a DB file |
| 1789 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1790 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
| 1790 FilePath /* the name of the file */, | 1791 FilePath /* the name of the file */, |
| 1791 int32 /* a unique message ID */) | 1792 int32 /* a unique message ID */) |
| 1792 | 1793 |
| 1793 IPC_END_MESSAGES(ViewHost) | 1794 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |