Index: chrome/browser/spellchecker/spellcheck_service.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_service.cc b/chrome/browser/spellchecker/spellcheck_service.cc |
index 5c41f374c9200312919094e84c4ad1b2b3fc357c..ace311e886521d8f1f3ef93e9a4abe27116df8aa 100644 |
--- a/chrome/browser/spellchecker/spellcheck_service.cc |
+++ b/chrome/browser/spellchecker/spellcheck_service.cc |
@@ -229,10 +229,15 @@ void SpellcheckService::OnCustomDictionaryLoaded() { |
InitForAllRenderers(); |
} |
-void SpellcheckService::OnCustomDictionaryWordAdded(const std::string& word) { |
-} |
- |
-void SpellcheckService::OnCustomDictionaryWordRemoved(const std::string& word) { |
+void SpellcheckService::OnCustomDictionaryChanged( |
+ const SpellcheckCustomDictionary::Change& dictionary_change) { |
+ for (content::RenderProcessHost::iterator i( |
+ content::RenderProcessHost::AllHostsIterator()); |
+ !i.IsAtEnd(); i.Advance()) { |
+ i.GetCurrentValue()->Send(new SpellCheckMsg_CustomDictionaryChanged( |
+ dictionary_change.to_add(), |
+ dictionary_change.to_remove())); |
+ } |
} |
// static |