Chromium Code Reviews| Index: chrome/browser/spellcheck_host_impl.h |
| diff --git a/chrome/browser/spellcheck_host_impl.h b/chrome/browser/spellcheck_host_impl.h |
| index dea73bcaaa0531c43048af23abd0303c8f7cdeb9..03e5800624a1a4280df4473b7fcb1f2c7d267b5f 100644 |
| --- a/chrome/browser/spellcheck_host_impl.h |
| +++ b/chrome/browser/spellcheck_host_impl.h |
| @@ -87,6 +87,10 @@ class SpellCheckHostImpl : public SpellCheckHost, |
| // Write a custom dictionary addition to disk. |
| void WriteWordToCustomDictionary(const std::string& word); |
| + // Collects a histogram for dictionary corruption rate |
| + // to be uploaded via UMA |
| + void RecordDictionaryCorruptionStats(bool corrupted); |
| + |
| // Collects status of spellchecking enabling state, which is |
| // to be uploaded via UMA |
| virtual void RecordCheckedWordStats(bool misspell); |
| @@ -95,6 +99,10 @@ class SpellCheckHostImpl : public SpellCheckHost, |
| // to be uploaded via UMA |
| virtual void RecordReplacedWordStats(int delta); |
| + // Collects a histogram for context menu showing as a spell correction |
| + // attempt to be uploaded via UMA |
| + virtual void RecordSuggestionStats(int delta); |
| + |
| // URLFetcher::Delegate implementation. Called when we finish downloading the |
| // spellcheck dictionary; saves the dictionary to |data_|. |
| virtual void OnURLFetchComplete(const URLFetcher* source, |
| @@ -153,6 +161,8 @@ class SpellCheckHostImpl : public SpellCheckHost, |
| int misspelled_word_count_; |
| // Number of checked words. |
| int spellchecked_word_count_; |
| + // Number of suggestion list showings. |
| + int suggestion_count_; |
|
brettw
2011/06/12 13:02:59
How about suggestion_show_count_? Just suggestion_
|
| // Number of misspelled words replaced by a user. |
| int replaced_word_count_; |
| }; |