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 #include "content/common/dom_storage/dom_storage_types.h" | 6 #include "content/common/dom_storage/dom_storage_types.h" |
7 #include "content/public/common/common_param_traits.h" | 7 #include "content/public/common/common_param_traits.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/public/platform/WebStorageArea.h" | 10 #include "third_party/WebKit/public/platform/WebStorageArea.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 // The non-zero connection_id which caused the event or 0 if the event | 32 // The non-zero connection_id which caused the event or 0 if the event |
33 // was not caused by the target renderer process. | 33 // was not caused by the target renderer process. |
34 IPC_STRUCT_MEMBER(int, connection_id) | 34 IPC_STRUCT_MEMBER(int, connection_id) |
35 | 35 |
36 // The non-zero session namespace_id associated with the event or 0 if | 36 // The non-zero session namespace_id associated with the event or 0 if |
37 // this is a local storage event. | 37 // this is a local storage event. |
38 IPC_STRUCT_MEMBER(int64, namespace_id) | 38 IPC_STRUCT_MEMBER(int64, namespace_id) |
39 IPC_STRUCT_END() | 39 IPC_STRUCT_END() |
40 | 40 |
41 IPC_ENUM_TRAITS(WebKit::WebStorageArea::Result) | 41 IPC_ENUM_TRAITS(blink::WebStorageArea::Result) |
42 | 42 |
43 // DOM Storage messages sent from the browser to the renderer. | 43 // DOM Storage messages sent from the browser to the renderer. |
44 | 44 |
45 // Storage events are broadcast to all renderer processes. | 45 // Storage events are broadcast to all renderer processes. |
46 IPC_MESSAGE_CONTROL1(DOMStorageMsg_Event, | 46 IPC_MESSAGE_CONTROL1(DOMStorageMsg_Event, |
47 DOMStorageMsg_Event_Params) | 47 DOMStorageMsg_Event_Params) |
48 | 48 |
49 // Completion notification sent in response to each async | 49 // Completion notification sent in response to each async |
50 // load, set, remove, and clear operation. | 50 // load, set, remove, and clear operation. |
51 // Used to maintain the integrity of the renderer-side cache. | 51 // Used to maintain the integrity of the renderer-side cache. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 string16 /* key */, | 95 string16 /* key */, |
96 GURL /* page_url */) | 96 GURL /* page_url */) |
97 | 97 |
98 // Clear the storage area. A completion notification is sent in response. | 98 // Clear the storage area. A completion notification is sent in response. |
99 IPC_MESSAGE_CONTROL2(DOMStorageHostMsg_Clear, | 99 IPC_MESSAGE_CONTROL2(DOMStorageHostMsg_Clear, |
100 int /* connection_id */, | 100 int /* connection_id */, |
101 GURL /* page_url */) | 101 GURL /* page_url */) |
102 | 102 |
103 // Used to flush the ipc message queue. | 103 // Used to flush the ipc message queue. |
104 IPC_SYNC_MESSAGE_CONTROL0_0(DOMStorageHostMsg_FlushMessages) | 104 IPC_SYNC_MESSAGE_CONTROL0_0(DOMStorageHostMsg_FlushMessages) |
OLD | NEW |