| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Multiply-included message file, no traditional include guard. | 5 // Multiply-included message file, no traditional include guard. |
| 6 #include "content/common/common_param_traits.h" | 6 #include "content/common/common_param_traits.h" |
| 7 #include "googleurl/src/gurl.h" | 7 #include "googleurl/src/gurl.h" |
| 8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "ipc/ipc_param_traits.h" | 9 #include "ipc/ipc_param_traits.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 unsigned /* index */, | 61 unsigned /* index */, |
| 62 NullableString16 /* key */) | 62 NullableString16 /* key */) |
| 63 | 63 |
| 64 // Get a value based on a key from a storage area. | 64 // Get a value based on a key from a storage area. |
| 65 IPC_SYNC_MESSAGE_CONTROL2_1(DOMStorageHostMsg_GetItem, | 65 IPC_SYNC_MESSAGE_CONTROL2_1(DOMStorageHostMsg_GetItem, |
| 66 int64 /* storage_area_id */, | 66 int64 /* storage_area_id */, |
| 67 string16 /* key */, | 67 string16 /* key */, |
| 68 NullableString16 /* value */) | 68 NullableString16 /* value */) |
| 69 | 69 |
| 70 // Set a value that's associated with a key in a storage area. | 70 // Set a value that's associated with a key in a storage area. |
| 71 IPC_SYNC_MESSAGE_CONTROL5_2(DOMStorageHostMsg_SetItem, | 71 IPC_SYNC_MESSAGE_CONTROL4_2(DOMStorageHostMsg_SetItem, |
| 72 int /* routing_id */, | |
| 73 int64 /* storage_area_id */, | 72 int64 /* storage_area_id */, |
| 74 string16 /* key */, | 73 string16 /* key */, |
| 75 string16 /* value */, | 74 string16 /* value */, |
| 76 GURL /* url */, | 75 GURL /* url */, |
| 77 WebKit::WebStorageArea::Result /* result */, | 76 WebKit::WebStorageArea::Result /* result */, |
| 78 NullableString16 /* old_value */) | 77 NullableString16 /* old_value */) |
| 79 | 78 |
| 80 // Remove the value associated with a key in a storage area. | 79 // Remove the value associated with a key in a storage area. |
| 81 IPC_SYNC_MESSAGE_CONTROL3_1(DOMStorageHostMsg_RemoveItem, | 80 IPC_SYNC_MESSAGE_CONTROL3_1(DOMStorageHostMsg_RemoveItem, |
| 82 int64 /* storage_area_id */, | 81 int64 /* storage_area_id */, |
| 83 string16 /* key */, | 82 string16 /* key */, |
| 84 GURL /* url */, | 83 GURL /* url */, |
| 85 NullableString16 /* old_value */) | 84 NullableString16 /* old_value */) |
| 86 | 85 |
| 87 // Clear the storage area. | 86 // Clear the storage area. |
| 88 IPC_SYNC_MESSAGE_CONTROL2_1(DOMStorageHostMsg_Clear, | 87 IPC_SYNC_MESSAGE_CONTROL2_1(DOMStorageHostMsg_Clear, |
| 89 int64 /* storage_area_id */, | 88 int64 /* storage_area_id */, |
| 90 GURL /* url */, | 89 GURL /* url */, |
| 91 bool /* something_cleared */) | 90 bool /* something_cleared */) |
| 92 | 91 |
| OLD | NEW |