OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/common/common_param_traits.h" | 6 #include "content/public/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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // The origin this is associated with. | 26 // The origin this is associated with. |
27 IPC_STRUCT_MEMBER(GURL, origin) | 27 IPC_STRUCT_MEMBER(GURL, origin) |
28 | 28 |
29 // The URL of the page that caused the storage event. | 29 // The URL of the page that caused the storage event. |
30 IPC_STRUCT_MEMBER(GURL, page_url) | 30 IPC_STRUCT_MEMBER(GURL, page_url) |
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 |
| 36 // The non-zero session namespace_id associated with the event or 0 if |
| 37 // this is a local storage event. |
| 38 IPC_STRUCT_MEMBER(int64, namespace_id) |
35 IPC_STRUCT_END() | 39 IPC_STRUCT_END() |
36 | 40 |
37 IPC_ENUM_TRAITS(WebKit::WebStorageArea::Result) | 41 IPC_ENUM_TRAITS(WebKit::WebStorageArea::Result) |
38 | 42 |
39 // DOM Storage messages sent from the browser to the renderer. | 43 // DOM Storage messages sent from the browser to the renderer. |
40 | 44 |
41 // Storage events are broadcast to all renderer processes. | 45 // Storage events are broadcast to all renderer processes. |
42 IPC_MESSAGE_CONTROL1(DOMStorageMsg_Event, | 46 IPC_MESSAGE_CONTROL1(DOMStorageMsg_Event, |
43 DOMStorageMsg_Event_Params) | 47 DOMStorageMsg_Event_Params) |
44 | 48 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 IPC_SYNC_MESSAGE_CONTROL2_1(DOMStorageHostMsg_Clear, | 129 IPC_SYNC_MESSAGE_CONTROL2_1(DOMStorageHostMsg_Clear, |
126 int /* connection_id */, | 130 int /* connection_id */, |
127 GURL /* page_url */, | 131 GURL /* page_url */, |
128 bool /* something_cleared */) | 132 bool /* something_cleared */) |
129 | 133 |
130 // Clear the storage area. A completion notification is sent in response. | 134 // Clear the storage area. A completion notification is sent in response. |
131 IPC_MESSAGE_CONTROL3(DOMStorageHostMsg_ClearAsync, | 135 IPC_MESSAGE_CONTROL3(DOMStorageHostMsg_ClearAsync, |
132 int /* connection_id */, | 136 int /* connection_id */, |
133 int /* operation_id */, | 137 int /* operation_id */, |
134 GURL /* page_url */) | 138 GURL /* page_url */) |
OLD | NEW |