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

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

Issue 8345034: SpellCheck: the custom dictionary should be per profile. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 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..1e4a9eb3009c3fc629178d45036acce1f1b06157 100644
--- a/chrome/browser/spellchecker/spellcheck_host_impl.h
+++ b/chrome/browser/spellchecker/spellcheck_host_impl.h
@@ -92,6 +92,9 @@ class SpellCheckHostImpl : public SpellCheckHost,
// If |dictionary_file_| is missing, we attempt to download it.
void DownloadDictionary();
+ // Load a custom dictionary from disk.
+ void LoadCustomDictionary(CustomWordList* custom_words);
+
// Write a custom dictionary addition to disk.
void WriteWordToCustomDictionary(const std::string& word);

Powered by Google App Engine
This is Rietveld 408576698