summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_messages.h
diff options
context:
space:
mode:
authorfelt@chromium.org <felt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 22:56:43 +0000
committerfelt@chromium.org <felt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 22:56:43 +0000
commit302e4ad04fe3f6ef7a81d7e904d99bbb85b77e98 (patch)
tree34785ff6c8ae07aef2ebb9bd641f54b0134cdeb4 /chrome/common/extensions/extension_messages.h
parent554afc898cd158333155e1db18705650a22e9123 (diff)
downloadchromium_src-302e4ad04fe3f6ef7a81d7e904d99bbb85b77e98.zip
chromium_src-302e4ad04fe3f6ef7a81d7e904d99bbb85b77e98.tar.gz
chromium_src-302e4ad04fe3f6ef7a81d7e904d99bbb85b77e98.tar.bz2
This tackles a number of ActivityLog-related corner cases. I wrote tests and then added fixes as needed.
1) Added test for chrome.app.* API calls 2) Added missing logging for chrome.app.* API calls 3) Removed event listener registration logging; added TODO 4) Added test for operations on objects returned from API calls 5) Added message passing tests 6) Added missing logging for message passing BUG=229703 Review URL: https://chromiumcodereview.appspot.com/13726026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_messages.h')
-rw-r--r--chrome/common/extensions/extension_messages.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index 32c24b3..62af07a 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -30,8 +30,9 @@
IPC_ENUM_TRAITS(extensions::ViewType)
-// Parameters structure for ExtensionHostMsg_AddAPIActionToActivityLog.
-IPC_STRUCT_BEGIN(ExtensionHostMsg_APIAction_Params)
+// Parameters structure for ExtensionHostMsg_AddAPIActionToActivityLog and
+// ExtensionHostMsg_AddEventToActivityLog.
+IPC_STRUCT_BEGIN(ExtensionHostMsg_APIActionOrEvent_Params)
// API name.
IPC_STRUCT_MEMBER(std::string, api_call)
@@ -603,7 +604,12 @@ IPC_MESSAGE_ROUTED1(ExtensionHostMsg_UpdateDraggableRegions,
// Sent by the renderer to log an API action to the extension activity log.
IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddAPIActionToActivityLog,
std::string /* extension_id */,
- ExtensionHostMsg_APIAction_Params)
+ ExtensionHostMsg_APIActionOrEvent_Params)
+
+// Sent by the renderer to log an event to the extension activity log.
+IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddEventToActivityLog,
+ std::string /* extension_id */,
+ ExtensionHostMsg_APIActionOrEvent_Params)
// Sent by the renderer to log a DOM action to the extension activity log.
IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog,