| Index: chrome/common/extensions/extension_messages.h
|
| diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
|
| index 35031616de69025fb4e04a950f12e75ae6cb15d0..fe5c9985f929d0a5c19591de25a838540108eb20 100644
|
| --- a/chrome/common/extensions/extension_messages.h
|
| +++ b/chrome/common/extensions/extension_messages.h
|
| @@ -39,6 +39,9 @@ IPC_STRUCT_BEGIN(ExtensionHostMsg_Request_Params)
|
| // Web security origin of the frame the request was sent from.
|
| IPC_STRUCT_MEMBER(string16, source_origin)
|
|
|
| + // The Feature::Context type this request came from.
|
| + IPC_STRUCT_MEMBER(int, source_context_type)
|
| +
|
| // Unique request id to match requests and responses.
|
| IPC_STRUCT_MEMBER(int, request_id)
|
|
|
| @@ -300,9 +303,10 @@ IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread,
|
| ExtensionHostMsg_Request_Params)
|
|
|
| // Notify the browser that the given extension added a listener to an event.
|
| -IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddListener,
|
| +IPC_MESSAGE_CONTROL3(ExtensionHostMsg_AddListener,
|
| std::string /* extension_id */,
|
| - std::string /* name */)
|
| + std::string /* name */,
|
| + int /* source_context_type */)
|
|
|
| // Notify the browser that the given extension removed a listener from an
|
| // event.
|
| @@ -312,9 +316,10 @@ IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RemoveListener,
|
|
|
| // Notify the browser that the given extension added a listener to an event from
|
| // a lazy background page.
|
| -IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddLazyListener,
|
| +IPC_MESSAGE_CONTROL3(ExtensionHostMsg_AddLazyListener,
|
| std::string /* extension_id */,
|
| - std::string /* name */)
|
| + std::string /* name */,
|
| + int /* source_context_type */)
|
|
|
| // Notify the browser that the given extension is no longer interested in
|
| // receiving the given event from a lazy background page.
|
|
|