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

Unified Diff: chrome/renderer/resources/extensions/enterprise_platform_keys/internal_api.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/enterprise_platform_keys/internal_api.js
diff --git a/chrome/renderer/resources/extensions/enterprise_platform_keys/internal_api.js b/chrome/renderer/resources/extensions/enterprise_platform_keys/internal_api.js
index 97ff6604822da577daa2d75c1b1c76146aff719f..bea9e96b26701e481f54dd24fc64aa7c9e3adec8 100644
--- a/chrome/renderer/resources/extensions/enterprise_platform_keys/internal_api.js
+++ b/chrome/renderer/resources/extensions/enterprise_platform_keys/internal_api.js
@@ -6,6 +6,6 @@ var binding = require('binding')
.Binding.create('enterprise.platformKeysInternal')
.generate();
-exports.getTokens = binding.getTokens;
-exports.generateKey = binding.generateKey;
-exports.sign = binding.sign;
+exports.$set('getTokens', binding.getTokens);
+exports.$set('generateKey', binding.generateKey);
+exports.$set('sign', binding.sign);

Powered by Google App Engine
This is Rietveld 408576698