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

Unified Diff: extensions/renderer/user_script_set.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: 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/user_script_set.h
diff --git a/extensions/renderer/user_script_set.h b/extensions/renderer/user_script_set.h
index e8d48f9ac89073da24d02dd0a1a8c806a4dc2802..1f9e18fbf290a8e4cf0207673d74dbbfbf841a19 100644
--- a/extensions/renderer/user_script_set.h
+++ b/extensions/renderer/user_script_set.h
@@ -17,6 +17,7 @@
#include "content/public/renderer/render_process_observer.h"
#include "extensions/common/user_script.h"
+class InjectionHost;
class GURL;
namespace blink {
@@ -24,7 +25,6 @@ class WebFrame;
}
namespace extensions {
-class Extension;
class ExtensionSet;
class ScriptInjection;
@@ -65,7 +65,7 @@ class UserScriptSet {
int tab_id,
UserScript::RunLocation run_location,
const GURL& document_url,
- const Extension* extension);
+ const InjectionHost* injection_host);
// Updates scripts given the shared memory region containing user scripts.
// Returns true if the scripts were successfully updated.
@@ -83,7 +83,7 @@ class UserScriptSet {
int tab_id,
UserScript::RunLocation run_location,
const GURL& document_url,
- const Extension* extension,
+ const InjectionHost* injection_host,
bool is_declarative);
// Shared memory containing raw script data.

Powered by Google App Engine
This is Rietveld 408576698