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

Unified Diff: chrome/renderer/resources/extensions/chrome_setting.js

Issue 1840453002: [Extensions] More bindings hardening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/renderer/resources/extensions/chrome_setting.js
diff --git a/chrome/renderer/resources/extensions/chrome_setting.js b/chrome/renderer/resources/extensions/chrome_setting.js
index 8d6f29e3fd2911d06bdd374ee2a6f976dc2870b1..ef8114824875d4dc31707105eefde197b99643e2 100644
--- a/chrome/renderer/resources/extensions/chrome_setting.js
+++ b/chrome/renderer/resources/extensions/chrome_setting.js
@@ -39,4 +39,4 @@ function ChromeSetting(prefKey, valueSchema) {
this.onChange = new Event('types.ChromeSetting.' + prefKey + '.onChange');
};
-exports.ChromeSetting = ChromeSetting;
+exports.$set('ChromeSetting', ChromeSetting);
« no previous file with comments | « chrome/renderer/resources/extensions/chrome_direct_setting.js ('k') | chrome/renderer/resources/extensions/content_setting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698