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

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: 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/extension_injection_host.h
diff --git a/extensions/renderer/extension_injection_host.h b/extensions/renderer/extension_injection_host.h
index 2806bb2e23197fe63edb8139f9f4667869488ae0..0c67993a299058f6c9e01dc15c372c31ecd220c8 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 {
@@ -19,8 +21,8 @@ class ExtensionInjectionHost : public InjectionHost {
ExtensionInjectionHost(const Extension* extension);
~ExtensionInjectionHost() override;
- 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