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

Unified Diff: chrome/browser/spellchecker/spellcheck_profile_provider.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_profile_provider.h
diff --git a/chrome/browser/spellchecker/spellcheck_profile_provider.h b/chrome/browser/spellchecker/spellcheck_profile_provider.h
index 93769824aa7a4ccdc17f34c50555b5420c217a70..e07657eb82904548d93243d82f1244fad44f4b5a 100644
--- a/chrome/browser/spellchecker/spellcheck_profile_provider.h
+++ b/chrome/browser/spellchecker/spellcheck_profile_provider.h
@@ -15,9 +15,11 @@ class SpellCheckProfileProvider {
public:
typedef std::vector<std::string> CustomWordList;
+ // Load custom wordlist if any.
+ virtual void LoadCustomDictionary() = 0;
+
// Invoked on the UI thread when SpellCheckHost is initialized.
- virtual void SpellCheckHostInitialized(
- CustomWordList* custom_words) = 0;
+ virtual void SpellCheckHostInitialized() = 0;
// Returns in-memory cache of custom word list.
virtual const CustomWordList& GetCustomWords() const = 0;

Powered by Google App Engine
This is Rietveld 408576698