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

Unified Diff: chrome/browser/spellcheck_host.h

Issue 7121006: Introduced additional spellcheck related histogram. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Uploading the patch for our commit queue Created 9 years, 6 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 | chrome/browser/spellcheck_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellcheck_host.h
diff --git a/chrome/browser/spellcheck_host.h b/chrome/browser/spellcheck_host.h
index 27ccbc225c992d8b1a7429f73ee9ad7bb4b79c6f..fe3b368ffcdd3f9a2891c0f4ebb6138df847edc2 100644
--- a/chrome/browser/spellcheck_host.h
+++ b/chrome/browser/spellcheck_host.h
@@ -88,8 +88,16 @@ 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.
+ // The value of |delta| is accumulated to the total count, and only
+ // update tracked ratio if |delta| is zero.
+ virtual void RecordSuggestionStats(int delta) = 0;
+
// Collects a histogram for misspelled word replacement
- // to be uploaded via UMA
+ // to be uploaded via UMA.
+ // The value of |delta| is accumulated to the total count, and only
+ // update tracked ratio if |delta| is zero.
virtual void RecordReplacedWordStats(int delta) = 0;
// This function computes a vector of strings which are to be displayed in
« no previous file with comments | « no previous file | chrome/browser/spellcheck_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698