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

Unified Diff: chrome/browser/extensions/active_script_controller.h

Issue 874683005: [Extensions] Enable the scripts-require-action feature based on all-urls pref (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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: chrome/browser/extensions/active_script_controller.h
diff --git a/chrome/browser/extensions/active_script_controller.h b/chrome/browser/extensions/active_script_controller.h
index 169ac119898efd1e61644c6845949695dca5d406..954bb2f78935ab3daf04b09685cb1dda39b11c51 100644
--- a/chrome/browser/extensions/active_script_controller.h
+++ b/chrome/browser/extensions/active_script_controller.h
@@ -130,11 +130,6 @@ class ActiveScriptController : public content::WebContentsObserver,
// The associated browser context.
content::BrowserContext* browser_context_;
- // Whether or not the ActiveScriptController is enabled (corresponding to the
- // kActiveScriptEnforcement switch). If it is not, it acts as an empty shell,
- // always allowing scripts to run and never displaying actions.
- bool enabled_;
-
// The map of extension_id:pending_request of all pending requests.
PendingRequestMap pending_requests_;

Powered by Google App Engine
This is Rietveld 408576698