diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 10:51:19 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 10:51:19 +0000 |
commit | a807bbeaaf2155a346ac946aefeed14620dbc17c (patch) | |
tree | f4748ce24b1c9c1c754db15d621611383160aa87 /chrome/renderer/extensions/renderer_extension_bindings.h | |
parent | a0e6f1b8324abee0304470219d1b129b3be30e15 (diff) | |
download | chromium_src-a807bbeaaf2155a346ac946aefeed14620dbc17c.zip chromium_src-a807bbeaaf2155a346ac946aefeed14620dbc17c.tar.gz chromium_src-a807bbeaaf2155a346ac946aefeed14620dbc17c.tar.bz2 |
Reland 44348 Add support for restricting broadcasting events to extensions based on host permissions
BUG=38398
TEST=none
TBR=jochen@chromium.org
Review URL: http://codereview.chromium.org/1528038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions/renderer_extension_bindings.h')
-rw-r--r-- | chrome/renderer/extensions/renderer_extension_bindings.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/renderer_extension_bindings.h b/chrome/renderer/extensions/renderer_extension_bindings.h index 04233f6..3e70e8f 100644 --- a/chrome/renderer/extensions/renderer_extension_bindings.h +++ b/chrome/renderer/extensions/renderer_extension_bindings.h @@ -9,6 +9,7 @@ #include <string> +class GURL; class ListValue; class RenderView; @@ -24,7 +25,8 @@ class RendererExtensionBindings { // Call the given javascript function with the specified arguments. static void Invoke(const std::string& function_name, const ListValue& args, - RenderView* renderview, bool requires_incognito_access); + RenderView* renderview, bool requires_incognito_access, + const GURL& event_url); }; #endif // CHROME_RENDERER_EXTENSIONS_RENDERER_EXTENSION_BINDINGS_H_ |