Index: extensions/renderer/user_script_set_manager.h |
diff --git a/extensions/renderer/user_script_set_manager.h b/extensions/renderer/user_script_set_manager.h |
index d102ea33e2b1ec7e3d18cf2d9e9313e41c8b813c..c6a80a6b92f2f21db3436f7e13e811ef61bb98df 100644 |
--- a/extensions/renderer/user_script_set_manager.h |
+++ b/extensions/renderer/user_script_set_manager.h |
@@ -56,14 +56,15 @@ class UserScriptSetManager : public content::RenderProcessObserver { |
void AddObserver(Observer* observer); |
void RemoveObserver(Observer* observer); |
- // Looks up the script injection associated with |script_id| and |extension| |
- // in the context of the given |web_frame|, |tab_id|, and |url|. |
+ // Looks up the script injection associated with |script_id| and |
+ // |injection_host| in the context of the given |web_frame|, |tab_id|, |
+ // and |url|. |
scoped_ptr<ScriptInjection> GetInjectionForDeclarativeScript( |
int script_id, |
blink::WebFrame* web_frame, |
int tab_id, |
const GURL& url, |
- const Extension* extension); |
+ const InjectionHost* injection_host); |
// Append all injections from |static_scripts| and each of |
// |programmatic_scripts_| to |injections|. |