[Extensions] Record the extension function names which send a bad message.

BUG=462026
[email protected]

Review URL: https://codereview.chromium.org/957113002

Cr-Commit-Position: refs/heads/master@{#318830}
diff --git a/extensions/browser/extension_function.cc b/extensions/browser/extension_function.cc
index b970fe3..6a136b2c 100644
--- a/extensions/browser/extension_function.cc
+++ b/extensions/browser/extension_function.cc
@@ -404,7 +404,7 @@
   if (!results_)
     results_.reset(new base::ListValue());
 
-  response_callback_.Run(type, *results_, GetError());
+  response_callback_.Run(type, *results_, GetError(), histogram_value());
 }
 
 void ExtensionFunction::OnRespondingLater(ResponseValue value) {