Commit 2f08432c authored by rdevlin.cronin's avatar rdevlin.cronin Committed by Commit bot

[Extensions] Update chrome://extensions to use developerPrivate.allowFileAccess

BUG=461039
BUG=463082

Review URL: https://codereview.chromium.org/967393002

Cr-Commit-Position: refs/heads/master@{#318746}
parent 5d9e9091
...@@ -384,8 +384,7 @@ cr.define('extensions', function() { ...@@ -384,8 +384,7 @@ cr.define('extensions', function() {
// The 'allow file:// access' checkbox. // The 'allow file:// access' checkbox.
row.setupColumn('.file-access-control input', 'localUrls', 'click', row.setupColumn('.file-access-control input', 'localUrls', 'click',
function(e) { function(e) {
chrome.send('extensionSettingsAllowFileAccess', chrome.developerPrivate.allowFileAccess(extension.id, e.target.checked);
[extension.id, String(e.target.checked)]);
}); });
// The 'Options' button or link, depending on its behaviour. // The 'Options' button or link, depending on its behaviour.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment