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

Unified Diff: extensions/renderer/resources/entry_id_manager.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/entry_id_manager.js
diff --git a/extensions/renderer/resources/entry_id_manager.js b/extensions/renderer/resources/entry_id_manager.js
index 9fc2c14b16c16113e445206ddb9dc8b25a076615..8e23942f93ad52274fe41547991c0c6535b01f69 100644
--- a/extensions/renderer/resources/entry_id_manager.js
+++ b/extensions/renderer/resources/entry_id_manager.js
@@ -47,6 +47,6 @@ function getEntryById(id) {
return idsToEntries[id];
}
-exports.registerEntry = registerEntry;
-exports.getEntryId = getEntryId;
-exports.getEntryById = getEntryById;
+exports.$set('registerEntry', registerEntry);
+exports.$set('getEntryId', getEntryId);
+exports.$set('getEntryById', getEntryById);
« no previous file with comments | « extensions/renderer/resources/declarative_webrequest_custom_bindings.js ('k') | extensions/renderer/resources/event.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698