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

Unified Diff: extensions/renderer/extension_injection_host.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: Fix extension page content scripts 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
Index: extensions/renderer/extension_injection_host.h
diff --git a/extensions/renderer/extension_injection_host.h b/extensions/renderer/extension_injection_host.h
index 1b77cacfb206c8781383757aaab346f03b491d56..252d0da226a013367b35c78c3ac808a74e897650 100644
--- a/extensions/renderer/extension_injection_host.h
+++ b/extensions/renderer/extension_injection_host.h
@@ -33,7 +33,7 @@ class ExtensionInjectionHost : public InjectionHost {
const std::string& name() const override;
PermissionsData::AccessType CanExecuteOnFrame(
const GURL& document_url,
- const GURL& top_frame_url,
+ blink::WebFrame* web_frame,
not at google - send to devlin 2015/06/03 20:15:45 Perhaps begin the trend of preferring RenderFrame
Devlin 2015/06/03 20:28:47 Sure, done.
int tab_id,
bool is_declarative) const override;
bool ShouldNotifyBrowserOfInjection() const override;

Powered by Google App Engine
This is Rietveld 408576698