Index: chrome/browser/spellchecker/spellcheck_custom_dictionary.h |
diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary.h b/chrome/browser/spellchecker/spellcheck_custom_dictionary.h |
index 1c244e7e123c19ec03e8132d200b1502f1a1697a..3aa5748131c7002df9477eaf5517b5913100794c 100644 |
--- a/chrome/browser/spellchecker/spellcheck_custom_dictionary.h |
+++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary.h |
@@ -32,6 +32,9 @@ class SpellcheckCustomDictionary : public SpellcheckDictionary { |
const chrome::spellcheck_common::WordList& GetWords() const; |
+ // Populates the given vector with the list of words in the custom dictionary |
groby-ooo-7-16
2012/11/29 23:35:47
Populates |custom_words|...
please use gerrit instead
2012/11/29 23:48:03
Done.
|
+ // file. Makes sure that the custom dictionary file is sorted and does not |
+ // have duplicates. |
void LoadDictionaryIntoCustomWordList( |
chrome::spellcheck_common::WordList* custom_words); |
@@ -48,7 +51,7 @@ class SpellcheckCustomDictionary : public SpellcheckDictionary { |
void WriteWordToCustomDictionary(const std::string& word); |
- // Removes the given word from the custom words list and inform renderer of |
+ // Removes the given word from the custom words list and informs renderer of |
// the update. Returns false for words that are not in the dictionary. |
bool RemoveWord(const std::string& word); |