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

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

Issue 8345034: SpellCheck: the custom dictionary should be per profile. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Update. 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..f0685d7206a234cbbf52e9c0de1334197db898f0 100644
--- a/chrome/browser/spellchecker/spellcheck_profile_provider.h
+++ b/chrome/browser/spellchecker/spellcheck_profile_provider.h
@@ -25,6 +25,12 @@ class SpellCheckProfileProvider {
// Invoked on the Ui thread when new custom word is registered.
virtual void CustomWordAddedLocally(const std::string& word) = 0;
+ // Loads the custom dictionary associated with this profile
+ virtual void LoadCustomDictionary(CustomWordList* custom_words) = 0;
+
+ // Writes a word to the custom dictionary associated with this profile.
+ virtual void WriteWordToCustomDictionary(const std::string& word) = 0;
+
protected:
virtual ~SpellCheckProfileProvider() {}
};
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_profile.cc ('k') | chrome/browser/spellchecker/spellcheck_profile_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698