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

Unified Diff: extensions/renderer/extension_injection_host.h

Issue 942533003: Enable <webview>.executeScript outside of Apps and Extensions [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_brower_isolated_world_routingid_user_script_UserScriptSet_non_hostset_2
Patch Set: Add a test. Created 5 years, 9 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 bdf6f41247e462de823c87f69487ee7eb9a7d8b3..1b77cacfb206c8781383757aaab346f03b491d56 100644
--- a/extensions/renderer/extension_injection_host.h
+++ b/extensions/renderer/extension_injection_host.h
@@ -12,6 +12,8 @@
namespace extensions {
class ExtensionSet;
+class ExtensionSet;
+
// A wrapper class that holds an extension and implements the InjectionHost
// interface.
class ExtensionInjectionHost : public InjectionHost {
@@ -21,8 +23,8 @@ class ExtensionInjectionHost : public InjectionHost {
// Create an ExtensionInjectionHost object. If the extension is gone, returns
// a null scoped ptr.
- static scoped_ptr<const ExtensionInjectionHost> Create(
- const std::string& extension_id, const ExtensionSet* extensions);
+ static scoped_ptr<const InjectionHost> Create(const std::string& extension_id,
+ const ExtensionSet* extensions);
private:
// InjectionHost:

Powered by Google App Engine
This is Rietveld 408576698