summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/extension_messages.h')
-rw-r--r--chrome/common/extensions/extension_messages.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index 3a58cf4..e4e5ec4 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -84,6 +84,9 @@ IPC_STRUCT_BEGIN(ExtensionHostMsg_Request_Params)
// extension. Or, they can originate from hosted apps or normal web pages.
IPC_STRUCT_MEMBER(GURL, source_url)
+ // The id of the tab that sent this request, or -1 if there is no source tab.
+ IPC_STRUCT_MEMBER(int, source_tab_id)
+
// Unique request id to match requests and responses.
IPC_STRUCT_MEMBER(int, request_id)