| Index: content/common/dom_storage_messages.h
|
| diff --git a/content/common/dom_storage_messages.h b/content/common/dom_storage_messages.h
|
| index 3a1affa761fb1212583b9dd20db9a956f5700726..d82710fb85e3a6b5069e9e5b9cbc0efa770013fd 100644
|
| --- a/content/common/dom_storage_messages.h
|
| +++ b/content/common/dom_storage_messages.h
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| // Multiply-included message file, no traditional include guard.
|
| +#include "base/shared_memory.h"
|
| #include "content/public/common/common_param_traits.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "ipc/ipc_message_macros.h"
|
| @@ -84,9 +85,12 @@ IPC_SYNC_MESSAGE_CONTROL2_1(DOMStorageHostMsg_Key,
|
| NullableString16 /* key */)
|
|
|
| // Get a value based on a key from a storage area.
|
| -IPC_SYNC_MESSAGE_CONTROL2_1(DOMStorageHostMsg_GetItem,
|
| +IPC_SYNC_MESSAGE_CONTROL2_4(DOMStorageHostMsg_GetItem,
|
| int /* connection_id */,
|
| string16 /* key */,
|
| + int /*IPC mode flag*/,
|
| + base::SharedMemoryHandle /*shm handle*/,
|
| + unsigned /* value length*/,
|
| NullableString16 /* value */)
|
|
|
| // TODO(michaeln): after the old sync IPC message have been deleted,
|
| @@ -102,6 +106,16 @@ IPC_SYNC_MESSAGE_CONTROL4_2(DOMStorageHostMsg_SetItem,
|
| NullableString16 /* old_value */)
|
|
|
| // Set a value that's associated with a key in a storage area.
|
| +IPC_SYNC_MESSAGE_CONTROL5_2(DOMStorageHostMsg_SetItemOpt,
|
| + int /* connection_id */,
|
| + string16 /* key */,
|
| + int /*value length*/,
|
| + base::SharedMemoryHandle /* value */,
|
| + GURL /* page_url */,
|
| + WebKit::WebStorageArea::Result /* result */,
|
| + NullableString16 /* old_value */)
|
| +
|
| +// Set a value that's associated with a key in a storage area.
|
| // A completion notification is sent in response.
|
| IPC_MESSAGE_CONTROL5(DOMStorageHostMsg_SetItemAsync,
|
| int /* connection_id */,
|
|
|