OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "content/common/dom_storage/dom_storage_types.h" | 9 #include "content/common/dom_storage/dom_storage_types.h" |
| 10 #include "content/public/common/common_param_traits.h" |
10 #include "ipc/ipc_message_macros.h" | 11 #include "ipc/ipc_message_macros.h" |
11 #include "ipc/ipc_param_traits.h" | 12 #include "ipc/ipc_param_traits.h" |
12 #include "third_party/WebKit/public/platform/WebStorageArea.h" | 13 #include "third_party/WebKit/public/platform/WebStorageArea.h" |
13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
14 #include "url/ipc/url_param_traits.h" | |
15 | 15 |
16 #define IPC_MESSAGE_START DOMStorageMsgStart | 16 #define IPC_MESSAGE_START DOMStorageMsgStart |
17 | 17 |
18 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebStorageArea::Result, | 18 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebStorageArea::Result, |
19 blink::WebStorageArea::ResultLast) | 19 blink::WebStorageArea::ResultLast) |
20 | 20 |
21 // Signals a local storage event. | 21 // Signals a local storage event. |
22 IPC_STRUCT_BEGIN(DOMStorageMsg_Event_Params) | 22 IPC_STRUCT_BEGIN(DOMStorageMsg_Event_Params) |
23 // The key that generated the storage event. Null if clear() was called. | 23 // The key that generated the storage event. Null if clear() was called. |
24 IPC_STRUCT_MEMBER(base::NullableString16, key) | 24 IPC_STRUCT_MEMBER(base::NullableString16, key) |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 base::string16 /* key */, | 90 base::string16 /* key */, |
91 GURL /* page_url */) | 91 GURL /* page_url */) |
92 | 92 |
93 // Clear the storage area. A completion notification is sent in response. | 93 // Clear the storage area. A completion notification is sent in response. |
94 IPC_MESSAGE_CONTROL2(DOMStorageHostMsg_Clear, | 94 IPC_MESSAGE_CONTROL2(DOMStorageHostMsg_Clear, |
95 int /* connection_id */, | 95 int /* connection_id */, |
96 GURL /* page_url */) | 96 GURL /* page_url */) |
97 | 97 |
98 // Used to flush the ipc message queue. | 98 // Used to flush the ipc message queue. |
99 IPC_SYNC_MESSAGE_CONTROL0_0(DOMStorageHostMsg_FlushMessages) | 99 IPC_SYNC_MESSAGE_CONTROL0_0(DOMStorageHostMsg_FlushMessages) |
OLD | NEW |