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. |