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

Unified Diff: chrome/browser/resources/extensions/extension_list.js

Issue 967393002: [Extensions] Update chrome://extensions to use developerPrivate.allowFileAccess (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/extensions/extension_list.js
diff --git a/chrome/browser/resources/extensions/extension_list.js b/chrome/browser/resources/extensions/extension_list.js
index c185b29b603d4ce950e8a12ff6d501d18f6f813d..a9363e1ff0137a2e907509c31a06d38e2aa6e31b 100644
--- a/chrome/browser/resources/extensions/extension_list.js
+++ b/chrome/browser/resources/extensions/extension_list.js
@@ -384,8 +384,7 @@ cr.define('extensions', function() {
// The 'allow file:// access' checkbox.
row.setupColumn('.file-access-control input', 'localUrls', 'click',
function(e) {
- chrome.send('extensionSettingsAllowFileAccess',
- [extension.id, String(e.target.checked)]);
+ chrome.developerPrivate.allowFileAccess(extension.id, e.target.checked);
});
// The 'Options' button or link, depending on its behaviour.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698