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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // messagse to the browser for get operations for logging purposes. | 76 // messagse to the browser for get operations for logging purposes. |
77 IPC_SYNC_MESSAGE_CONTROL1_2(DOMStorageHostMsg_LoadStorageArea, | 77 IPC_SYNC_MESSAGE_CONTROL1_2(DOMStorageHostMsg_LoadStorageArea, |
78 int /* connection_id */, | 78 int /* connection_id */, |
79 content::DOMStorageValuesMap, | 79 content::DOMStorageValuesMap, |
80 bool /* send_log_get_messages */) | 80 bool /* send_log_get_messages */) |
81 | 81 |
82 // Set a value that's associated with a key in a storage area. | 82 // Set a value that's associated with a key in a storage area. |
83 // A completion notification is sent in response. | 83 // A completion notification is sent in response. |
84 IPC_MESSAGE_CONTROL4(DOMStorageHostMsg_SetItem, | 84 IPC_MESSAGE_CONTROL4(DOMStorageHostMsg_SetItem, |
85 int /* connection_id */, | 85 int /* connection_id */, |
86 string16 /* key */, | 86 base::string16 /* key */, |
87 string16 /* value */, | 87 base::string16 /* value */, |
88 GURL /* page_url */) | 88 GURL /* page_url */) |
89 | 89 |
90 // Logs that a get operation was performed on a key/value pair. | 90 // Logs that a get operation was performed on a key/value pair. |
91 IPC_MESSAGE_CONTROL3(DOMStorageHostMsg_LogGetItem, | 91 IPC_MESSAGE_CONTROL3(DOMStorageHostMsg_LogGetItem, |
92 int /* connection_id */, | 92 int /* connection_id */, |
93 string16 /* key */, | 93 base::string16 /* key */, |
94 base::NullableString16 /* value */) | 94 base::NullableString16 /* value */) |
95 | 95 |
96 // Remove the value associated with a key in a storage area. | 96 // Remove the value associated with a key in a storage area. |
97 // A completion notification is sent in response. | 97 // A completion notification is sent in response. |
98 IPC_MESSAGE_CONTROL3(DOMStorageHostMsg_RemoveItem, | 98 IPC_MESSAGE_CONTROL3(DOMStorageHostMsg_RemoveItem, |
99 int /* connection_id */, | 99 int /* connection_id */, |
100 string16 /* key */, | 100 base::string16 /* key */, |
101 GURL /* page_url */) | 101 GURL /* page_url */) |
102 | 102 |
103 // Clear the storage area. A completion notification is sent in response. | 103 // Clear the storage area. A completion notification is sent in response. |
104 IPC_MESSAGE_CONTROL2(DOMStorageHostMsg_Clear, | 104 IPC_MESSAGE_CONTROL2(DOMStorageHostMsg_Clear, |
105 int /* connection_id */, | 105 int /* connection_id */, |
106 GURL /* page_url */) | 106 GURL /* page_url */) |
107 | 107 |
108 // Used to flush the ipc message queue. | 108 // Used to flush the ipc message queue. |
109 IPC_SYNC_MESSAGE_CONTROL0_0(DOMStorageHostMsg_FlushMessages) | 109 IPC_SYNC_MESSAGE_CONTROL0_0(DOMStorageHostMsg_FlushMessages) |
OLD | NEW |