| 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..598f67bf52bbe2b22747b3ffb060e7db2398af6e 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_service.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_service.cc
|
| @@ -229,10 +229,16 @@ 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) {
|
| + DCHECK(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
|
|
|