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

Unified Diff: chrome/renderer/resources/extensions/context_menus_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/context_menus_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/context_menus_custom_bindings.js b/chrome/renderer/resources/extensions/context_menus_custom_bindings.js
index 4b0a9363a39fdeb91b125e498e6accf3eaface00..117f3418fb32136380e15929fe38cae94e112ba9 100644
--- a/chrome/renderer/resources/extensions/context_menus_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/context_menus_custom_bindings.js
@@ -55,7 +55,7 @@ binding.registerCustomHook(function(bindingsAPI) {
};
sendRequest(this.name, args, this.definition.parameters, optArgs);
return chromeHidden.contextMenus.getIdFromCreateProperties(args[0]);
- });
+ }, true);
apiFunctions.setCustomCallback('create', function(name, request, response) {
if (chrome.runtime.lastError) {

Powered by Google App Engine
This is Rietveld 408576698