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

Unified Diff: extensions/renderer/script_injection.h

Issue 1335083004: [Extensions] Don't allow extensions to inject scripts into extension pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « extensions/renderer/extension_injection_host.cc ('k') | extensions/renderer/script_injection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/script_injection.h
diff --git a/extensions/renderer/script_injection.h b/extensions/renderer/script_injection.h
index ccb4d1f3230ce23760096252daf02648462d6be8..14e34ae407235b77df585f3ffb6b66d65e993931 100644
--- a/extensions/renderer/script_injection.h
+++ b/extensions/renderer/script_injection.h
@@ -53,8 +53,7 @@ class ScriptInjection {
ScriptInjection(scoped_ptr<ScriptInjector> injector,
content::RenderFrame* render_frame,
scoped_ptr<const InjectionHost> injection_host,
- UserScript::RunLocation run_location,
- int tab_id);
+ UserScript::RunLocation run_location);
~ScriptInjection();
// Try to inject the script at the |current_location|. This returns
@@ -117,9 +116,6 @@ class ScriptInjection {
// The location in the document load at which we inject the script.
UserScript::RunLocation run_location_;
- // The tab id associated with the frame.
- int tab_id_;
-
// This injection's request id. This will be -1 unless the injection is
// currently waiting on permission.
int64 request_id_;
« no previous file with comments | « extensions/renderer/extension_injection_host.cc ('k') | extensions/renderer/script_injection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698