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

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

Issue 8233040: SpellCheck refactoring: Moved user custom dictionary for spell check to SpellCheckProfile. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Mentioned lifecycle of word_list Created 9 years, 2 months 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_host_impl.h
diff --git a/chrome/browser/spellchecker/spellcheck_host_impl.h b/chrome/browser/spellchecker/spellcheck_host_impl.h
index 6ec5ec4c227b401e8525c02819e0105778d34333..d13911706abfb4fa3898fd03a2bc5887ff12fc7e 100644
--- a/chrome/browser/spellchecker/spellcheck_host_impl.h
+++ b/chrome/browser/spellchecker/spellcheck_host_impl.h
@@ -80,21 +80,11 @@ class SpellCheckHostImpl : public SpellCheckHost,
void InitializeOnFileThread();
// Inform |profile_| that initialization has finished.
- // |custom_words| holds the custom word list which was
- // loaded at the file thread.
- void InformProfileOfInitializationWithCustomWords(
- CustomWordList* custom_words);
-
- // An alternative version of InformProfileOfInitializationWithCustomWords()
- // which implies empty |custom_words|.
void InformProfileOfInitialization();
// If |dictionary_file_| is missing, we attempt to download it.
void DownloadDictionary();
- // Write a custom dictionary addition to disk.
- void WriteWordToCustomDictionary(const std::string& word);
-
// Returns a metrics counter associated with this object,
// or null when metrics recording is disabled.
virtual SpellCheckHostMetrics* GetMetrics() const;
@@ -130,9 +120,6 @@ class SpellCheckHostImpl : public SpellCheckHost,
// The desired location of the dictionary file (whether or not t exists yet).
FilePath bdict_file_path_;
- // The location of the custom words file.
- FilePath custom_dictionary_file_;
-
// The language of the dictionary file.
std::string language_;

Powered by Google App Engine
This is Rietveld 408576698