summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellcheck_host.h
diff options
context:
space:
mode:
authormorrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 08:33:26 +0000
committermorrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 08:33:26 +0000
commit71ab4df89ad854f62492c99b6964e6e94ebf8b9c (patch)
tree7bdf39cd5d93cbd73be5b7aae79418b88d67c49a /chrome/browser/spellcheck_host.h
parent8d6ed15f3f74d3c8c9ce29d220cb65af7670eb00 (diff)
downloadchromium_src-71ab4df89ad854f62492c99b6964e6e94ebf8b9c.zip
chromium_src-71ab4df89ad854f62492c99b6964e6e94ebf8b9c.tar.gz
chromium_src-71ab4df89ad854f62492c99b6964e6e94ebf8b9c.tar.bz2
Introduced additional spellcheck related histograms.
This change added: - "SpellCheck.SuggestionHitRatio" (percentage) - "SpellCheck.SuggestionHitRatio" (boolean) TEST=manual TBR=darin BUG=none Review URL: http://codereview.chromium.org/7121006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88309 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellcheck_host.h')
-rw-r--r--chrome/browser/spellcheck_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/spellcheck_host.h b/chrome/browser/spellcheck_host.h
index 27ccbc2..d14a849 100644
--- a/chrome/browser/spellcheck_host.h
+++ b/chrome/browser/spellcheck_host.h
@@ -88,6 +88,10 @@ class SpellCheckHost
// to be uploaded via UMA
virtual void RecordCheckedWordStats(bool misspell) = 0;
+ // Collects a histogram for context menu showing as a spell correction
+ // attempt to be uploaded via UMA
+ virtual void RecordSuggestionStats(int delta) = 0;
+
// Collects a histogram for misspelled word replacement
// to be uploaded via UMA
virtual void RecordReplacedWordStats(int delta) = 0;