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

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

Issue 922403002: [Extensions] Adjust script injection reporting to the browser side (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
« no previous file with comments | « chrome/browser/extensions/active_script_controller.cc ('k') | chrome/browser/extensions/extension_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_util.h
diff --git a/chrome/browser/extensions/extension_util.h b/chrome/browser/extensions/extension_util.h
index 3ac12e5837e2dc9c6c0bfc995d14541b05b8c1f8..49fa599c9055935b265579e883c055b0d637d423 100644
--- a/chrome/browser/extensions/extension_util.h
+++ b/chrome/browser/extensions/extension_util.h
@@ -86,14 +86,6 @@ void SetAllowedScriptingOnAllUrls(const std::string& extension_id,
bool HasSetAllowedScriptingOnAllUrls(const std::string& extension_id,
content::BrowserContext* context);
-// Returns true if the --scripts-require-action flag would possibly affect
-// the given |extension| and |permissions|. We pass in the |permissions|
-// explicitly, as we may need to check with permissions other than the ones
-// that are currently on the extension's PermissionsData.
-bool ScriptsMayRequireActionForExtension(
- const Extension* extension,
- const PermissionSet* permissions);
-
// Returns true if |extension_id| can be launched (possibly only after being
// enabled).
bool IsAppLaunchable(const std::string& extension_id,
« no previous file with comments | « chrome/browser/extensions/active_script_controller.cc ('k') | chrome/browser/extensions/extension_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698