diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-11 03:03:04 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-11 03:03:04 +0000 |
commit | 622b022c5bb6070a36b8f9a5a12c3ae9afd94fd6 (patch) | |
tree | a004b5cd68db18d86dcef593c6c57741ecbd46e8 /extensions | |
parent | 77dac8de0113019e676fcb549b54eaa3987bd583 (diff) | |
download | chromium_src-622b022c5bb6070a36b8f9a5a12c3ae9afd94fd6.zip chromium_src-622b022c5bb6070a36b8f9a5a12c3ae9afd94fd6.tar.gz chromium_src-622b022c5bb6070a36b8f9a5a12c3ae9afd94fd6.tar.bz2 |
extensions: Fix the UMA names for Extensions.FunctionCalls.
BUG=none
R=isherman@chromium.org, miket@chromium.org
Review URL: https://codereview.chromium.org/107023006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/browser/extension_function.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/browser/extension_function.cc b/extensions/browser/extension_function.cc index 9d7142e..a06d2c4 100644 --- a/extensions/browser/extension_function.cc +++ b/extensions/browser/extension_function.cc @@ -5,7 +5,7 @@ #include "extensions/browser/extension_function.h" #include "base/logging.h" -#include "base/metrics/histogram.h" +#include "base/metrics/sparse_histogram.h" #include "chrome/browser/extensions/extension_function_dispatcher.h" #include "chrome/browser/extensions/extension_service.h" #include "chrome/browser/renderer_host/chrome_render_message_filter.h" @@ -114,8 +114,7 @@ void ExtensionFunction::SetError(const std::string& error) { } void ExtensionFunction::Run() { - UMA_HISTOGRAM_ENUMERATION("Extensions.FunctionCalls", histogram_value(), - extensions::functions::ENUM_BOUNDARY); + UMA_HISTOGRAM_SPARSE_SLOWLY("Extensions.FunctionCalls", histogram_value()); if (!RunImpl()) SendResponse(false); |