Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: extensions/renderer/programmatic_script_injector.h

Issue 1150683007: [Extensions] Use document url (not top url) for tab-specific permissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/renderer/injection_host.h ('k') | extensions/renderer/programmatic_script_injector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/programmatic_script_injector.h
diff --git a/extensions/renderer/programmatic_script_injector.h b/extensions/renderer/programmatic_script_injector.h
index 6e9aacb51e76d8d0f40c702ad52e85590f49c8a9..8caca0f582fb8c08b9a8523294c53599ca376b8a 100644
--- a/extensions/renderer/programmatic_script_injector.h
+++ b/extensions/renderer/programmatic_script_injector.h
@@ -41,8 +41,7 @@ class ProgrammaticScriptInjector : public ScriptInjector {
PermissionsData::AccessType CanExecuteOnFrame(
const InjectionHost* injection_host,
blink::WebFrame* web_frame,
- int tab_id,
- const GURL& top_url) const override;
+ int tab_id) const override;
std::vector<blink::WebScriptSource> GetJsSources(
UserScript::RunLocation run_location) const override;
std::vector<std::string> GetCssSources(
« no previous file with comments | « extensions/renderer/injection_host.h ('k') | extensions/renderer/programmatic_script_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698