| 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..316e94b950c2b07f1fa8e6b6837d471ccf8d8ae8 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_show_count_;
|
| // Number of misspelled words replaced by a user.
|
| int replaced_word_count_;
|
| };
|
|
|