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

Unified Diff: chrome/renderer/extensions/runtime_custom_bindings.cc

Issue 18769009: [Activity Log] fix logging of blocked API calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed a logging statement Created 7 years, 5 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/extensions/runtime_custom_bindings.cc
diff --git a/chrome/renderer/extensions/runtime_custom_bindings.cc b/chrome/renderer/extensions/runtime_custom_bindings.cc
index 8cdc10383562f1b35dce9036bdbc2eebfe2f2bbf..4b290d739ad8c521ae458cfde429dd9b3fcbb45e 100644
--- a/chrome/renderer/extensions/runtime_custom_bindings.cc
+++ b/chrome/renderer/extensions/runtime_custom_bindings.cc
@@ -70,6 +70,8 @@ void RuntimeCustomBindings::OpenChannelToNativeApp(
GetExtensionForRenderView(),
context()->context_type(),
context()->GetURL()).is_available()) {
+ APIActivityLogger::LogBlockedCall(context()->extension()->id(),
+ "nativeMessaging");
not at google - send to devlin 2013/07/11 19:22:33 Ok, maybe we should add a utility to ChromeV8Conte
felt 2013/07/11 19:26:37 Sorry, not 100% sure what you mean here -- add a m
not at google - send to devlin 2013/07/11 19:28:02 Yep that's what I meant, do the logging in that si
felt 2013/07/12 01:53:04 Instead of adding an extra method to be a wrapper
return;
}

Powered by Google App Engine
This is Rietveld 408576698