summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension_messages.h
diff options
context:
space:
mode:
authorkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-30 18:28:39 +0000
committerkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-30 18:28:39 +0000
commitc1abb3237596e83cc12639d5b9e7607b67ae77f2 (patch)
tree4696ac8ad2d52243324f89fd2f238669785541e2 /extensions/common/extension_messages.h
parent056fb8baa877888f0996eb5283721f1dbf2b5fb4 (diff)
downloadchromium_src-c1abb3237596e83cc12639d5b9e7607b67ae77f2.zip
chromium_src-c1abb3237596e83cc12639d5b9e7607b67ae77f2.tar.gz
chromium_src-c1abb3237596e83cc12639d5b9e7607b67ae77f2.tar.bz2
Allow restricting WebUI-enabled extension APIs to URL patterns.
BUG=391944 R=rockot@chromium.org, jschuh@chromium.org Review URL: https://codereview.chromium.org/422433005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension_messages.h')
-rw-r--r--extensions/common/extension_messages.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h
index e3154ca..5878603 100644
--- a/extensions/common/extension_messages.h
+++ b/extensions/common/extension_messages.h
@@ -507,14 +507,16 @@ 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 */,
+ GURL /* listener_url */,
std::string /* name */)
// Notify the browser that the given extension removed a listener from an
// event.
-IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RemoveListener,
+IPC_MESSAGE_CONTROL3(ExtensionHostMsg_RemoveListener,
std::string /* extension_id */,
+ GURL /* listener_url */,
std::string /* name */)
// Notify the browser that the given extension added a listener to an event from