Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: content/common/dom_storage_messages.h

Issue 10201010: Switch chrome and chromiumDRT over to using the new WebKit API for dispatching events. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 */)
OLDNEW
« no previous file with comments | « content/browser/dom_storage/dom_storage_message_filter.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698