Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6003)

Unified Diff: chrome/browser/spellchecker/spellcheck_service.h

Issue 11293241: Cleaning up the custom dictionary code relative to the SpellcheckService to make the custom diction… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/spellchecker/spellcheck_service.h
diff --git a/chrome/browser/spellchecker/spellcheck_service.h b/chrome/browser/spellchecker/spellcheck_service.h
index f1ac5266083719f765a1792eab3121d30d67e36e..40a7ded9e8153a8644fe9acf4dc1c0086bac6c19 100644
--- a/chrome/browser/spellchecker/spellcheck_service.h
+++ b/chrome/browser/spellchecker/spellcheck_service.h
@@ -77,24 +77,6 @@ class SpellcheckService : public ProfileKeyedService,
// renderer will not load Hunspell until it needs to.
void InitForRenderer(content::RenderProcessHost* process);
- // Returns in-memory cache of custom word list.
- const chrome::spellcheck_common::WordList& GetCustomWords();
-
- // Invoked on the Ui thread when new custom word is registered.
- void CustomWordAddedLocally(const std::string& word);
-
- // Loads the custom dictionary associated with this profile into the
- // passed in WordList.
- void LoadDictionaryIntoCustomWordList(
- chrome::spellcheck_common::WordList* custom_words);
-
- // Writes a word to the custom dictionary associated with this profile.
- void WriteWordToCustomDictionary(const std::string& word);
-
- // Adds the given word to the custom words list and inform renderer of the
- // update.
- void AddWord(const std::string& word);
-
// Returns true if the dictionary is ready to use.
bool IsReady() const;
@@ -103,10 +85,6 @@ class SpellcheckService : public ProfileKeyedService,
virtual const std::string& GetLanguage() const;
virtual bool IsUsingPlatformChecker() const;
- // The reply point for PostTaskAndReply. Called when AddWord is finished
- // adding a word in the background.
- void AddWordComplete(const std::string& word);
-
// Returns a metrics counter associated with this object,
// or null when metrics recording is disabled.
SpellCheckHostMetrics* GetMetrics() const;

Powered by Google App Engine
This is Rietveld 408576698