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

Unified Diff: extensions/browser/extension_function.h

Issue 957113002: [Extensions] Record the extension function names which send a bad message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format somebody else's histogram... Created 5 years, 10 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
« no previous file with comments | « no previous file | extensions/browser/extension_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_function.h
diff --git a/extensions/browser/extension_function.h b/extensions/browser/extension_function.h
index 9385719bdbfb0ea2eab7258d6c472ce07f059a72..f9a2a79de2d79ec68a07ef2d09412aa6829d1c1c 100644
--- a/extensions/browser/extension_function.h
+++ b/extensions/browser/extension_function.h
@@ -100,9 +100,11 @@ class ExtensionFunction
BAD_MESSAGE
};
- typedef base::Callback<void(ResponseType type,
- const base::ListValue& results,
- const std::string& error)> ResponseCallback;
+ using ResponseCallback = base::Callback<void(
+ ResponseType type,
+ const base::ListValue& results,
+ const std::string& error,
+ extensions::functions::HistogramValue histogram_value)>;
ExtensionFunction();
« no previous file with comments | « no previous file | extensions/browser/extension_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698