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

Unified Diff: chrome/browser/extensions/permissions_updater.cc

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
Index: chrome/browser/extensions/permissions_updater.cc
diff --git a/chrome/browser/extensions/permissions_updater.cc b/chrome/browser/extensions/permissions_updater.cc
index 65608c1b51bde4fd890fb6d988f601c356e4fe6a..953b25c0e24e34eded32f5c61c2c12d6c183e2a2 100644
--- a/chrome/browser/extensions/permissions_updater.cc
+++ b/chrome/browser/extensions/permissions_updater.cc
@@ -184,8 +184,8 @@ void PermissionsUpdater::InitializePermissions(const Extension* extension) {
// Determine whether or not to withhold host permissions.
bool should_withhold_permissions = false;
- if (util::ScriptsMayRequireActionForExtension(extension,
- bounded_active.get())) {
+ if (PermissionsData::ScriptsMayRequireActionForExtension(
+ extension, bounded_active.get())) {
should_withhold_permissions =
init_flag_ & INIT_FLAG_TRANSIENT ?
!util::DefaultAllowedScriptingOnAllUrls() :
« no previous file with comments | « chrome/browser/extensions/extension_util.cc ('k') | chrome/browser/ui/webui/extensions/extension_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698