Index: chrome/common/extensions/extension_messages.h |
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h |
index 1ac5f838b02fd125af2373b0a4aeadfdbd6021fb..56b43b976757dbdb361bff7ffd6d566a81e37556 100644 |
--- a/chrome/common/extensions/extension_messages.h |
+++ b/chrome/common/extensions/extension_messages.h |
@@ -30,6 +30,18 @@ |
IPC_ENUM_TRAITS(chrome::ViewType) |
+// Parameters structure for ExtensionHostMsg_AddAPIActionToActivityLog. |
+IPC_STRUCT_BEGIN(ExtensionHostMsg_APIAction_Params) |
+ // API name. |
+ IPC_STRUCT_MEMBER(std::string, api_call) |
+ |
+ // List of arguments. |
+ IPC_STRUCT_MEMBER(ListValue, arguments) |
+ |
+ // Extra logging information. |
+ IPC_STRUCT_MEMBER(std::string, extra) |
+IPC_STRUCT_END() |
+ |
// Parameters structure for ExtensionHostMsg_AddDOMActionToActivityLog. |
IPC_STRUCT_BEGIN(ExtensionHostMsg_DOMAction_Params) |
// URL of the page. |
@@ -606,7 +618,12 @@ IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ResumeRequests, int /* route_id */) |
IPC_MESSAGE_ROUTED1(ExtensionHostMsg_UpdateDraggableRegions, |
std::vector<extensions::DraggableRegion> /* regions */) |
-// Sent by the renderer to log a DOM action on the extension activity log. |
+// 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) |
+ |
+// Sent by the renderer to log a DOM action to the extension activity log. |
IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog, |
std::string /* extension_id */, |
ExtensionHostMsg_DOMAction_Params) |