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

Unified Diff: extensions/renderer/injection_host.h

Issue 922403002: [Extensions] Adjust script injection reporting to the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/extension_injection_host.cc ('k') | extensions/renderer/script_injection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/injection_host.h
diff --git a/extensions/renderer/injection_host.h b/extensions/renderer/injection_host.h
index a142b1db1c70650bb64f2c6850baafc93e8b5548..6c23c2d3cd2cab7c7bdb9e87665c18e283eea452 100644
--- a/extensions/renderer/injection_host.h
+++ b/extensions/renderer/injection_host.h
@@ -30,6 +30,10 @@ class InjectionHost {
int tab_id,
bool is_declarative) const = 0;
+ // Returns true if the browser should be notified of any injections the host
+ // performs.
+ virtual bool ShouldNotifyBrowserOfInjection() const = 0;
+
const HostID& id() const { return id_; }
private:
// The ID of the host.
« no previous file with comments | « extensions/renderer/extension_injection_host.cc ('k') | extensions/renderer/script_injection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698