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

Unified Diff: extensions/renderer/resources/runtime_custom_bindings.js

Issue 1417513003: [Extensions] Don't allow built-in extensions code to be overridden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Jochen's Created 5 years, 2 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: extensions/renderer/resources/runtime_custom_bindings.js
diff --git a/extensions/renderer/resources/runtime_custom_bindings.js b/extensions/renderer/resources/runtime_custom_bindings.js
index 2b0e44ac069c781b8b40c8549ace020929cc6cd7..1f829d4deb11abfe83933bb9fc0ec94881e267f1 100644
--- a/extensions/renderer/resources/runtime_custom_bindings.js
+++ b/extensions/renderer/resources/runtime_custom_bindings.js
@@ -202,5 +202,5 @@ binding.registerCustomHook(function(binding, id, contextType) {
bindDirectoryEntryCallback('getPackageDirectoryEntry', apiFunctions);
});
-exports.bindDirectoryEntryCallback = bindDirectoryEntryCallback;
-exports.binding = binding.generate();
+exports.$set('bindDirectoryEntryCallback', bindDirectoryEntryCallback);
+exports.$set('binding', binding.generate());
« no previous file with comments | « extensions/renderer/resources/printer_provider_custom_bindings.js ('k') | extensions/renderer/resources/schema_utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698