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

Unified Diff: extensions/renderer/injection_host.h

Issue 934763003: Refactoring: de-couple Extensions from "script injection System" [render side]:3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_brower_isolated_world_routingid_user_script_1
Patch Set: Rebase. 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
Index: extensions/renderer/injection_host.h
diff --git a/extensions/renderer/injection_host.h b/extensions/renderer/injection_host.h
index 6c23c2d3cd2cab7c7bdb9e87665c18e283eea452..4dcb225f2aedd8a644c1203a61f22e91c1fad91c 100644
--- a/extensions/renderer/injection_host.h
+++ b/extensions/renderer/injection_host.h
@@ -15,7 +15,7 @@ class InjectionHost {
InjectionHost(const HostID& host_id);
virtual ~InjectionHost();
- virtual const std::string& GetContentSecurityPolicy() const = 0;
+ virtual std::string GetContentSecurityPolicy() const = 0;
// The base url for the host.
virtual const GURL& url() const = 0;
@@ -35,6 +35,7 @@ class InjectionHost {
virtual bool ShouldNotifyBrowserOfInjection() const = 0;
const HostID& id() const { return id_; }
+
private:
// The ID of the host.
HostID id_;

Powered by Google App Engine
This is Rietveld 408576698