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

Unified Diff: chrome/renderer/resources/extensions/notifications_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/notifications_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/notifications_custom_bindings.js b/chrome/renderer/resources/extensions/notifications_custom_bindings.js
index d1dd6faad543e9a2679f03cf36a736444bd9a38a..15cad00c8578f61d50e28329b9e85476a9db4812 100644
--- a/chrome/renderer/resources/extensions/notifications_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/notifications_custom_bindings.js
@@ -120,8 +120,8 @@ var handleUpdate = genHandle(function(callback, id) { callback(false); });
var notificationsCustomHook = function(bindingsAPI, extensionId) {
var apiFunctions = bindingsAPI.apiFunctions;
- apiFunctions.setHandleRequest('create', handleCreate);
- apiFunctions.setHandleRequest('update', handleCreate);
+ apiFunctions.setHandleRequest('create', handleCreate, false);
+ apiFunctions.setHandleRequest('update', handleCreate, false);
Matt Perry 2013/03/15 17:51:07 Both of these use sendRequest... sometimes. See ge
};
binding.registerCustomHook(notificationsCustomHook);

Powered by Google App Engine
This is Rietveld 408576698