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

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

Issue 12517011: Added activity logging for ext APIs with custom bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modified setHandleRequest to avoid double logging Created 7 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/file_system_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/file_system_custom_bindings.js b/chrome/renderer/resources/extensions/file_system_custom_bindings.js
index acf163ad86e76eeed3df6d1f92766afc71b19067..cc9fa1e7a08b1206d9d8fabefb4eb712b7df3410 100644
--- a/chrome/renderer/resources/extensions/file_system_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/file_system_custom_bindings.js
@@ -61,11 +61,11 @@ binding.registerCustomHook(function(bindingsAPI) {
apiFunctions.setHandleRequest('getEntryId', function(fileEntry) {
return entryIdManager.getEntryId(fileEntry);
- });
+ }, false);
apiFunctions.setHandleRequest('getEntryById', function(id) {
return entryIdManager.getEntryById(id);
- });
+ }, false);
// TODO(benwells): Remove these deprecated versions of the functions.
fileSystem.getWritableFileEntry = function() {

Powered by Google App Engine
This is Rietveld 408576698