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..cd3d26d7c26e851bd978acdfb3f23bf664ff168e 100644 |
--- a/chrome/browser/spellchecker/spellcheck_profile_provider.h |
+++ b/chrome/browser/spellchecker/spellcheck_profile_provider.h |
@@ -9,6 +9,8 @@ |
#include <string> |
#include <vector> |
+class FilePath; |
gmorrita
2011/10/19 05:27:37
Do we need this?
shinyak (Google)
2011/10/19 05:55:04
Done.
|
+ |
// A user profile provider and state notification receiver for the |
// SpellCheckHost. |
class SpellCheckProfileProvider { |
@@ -25,6 +27,12 @@ class SpellCheckProfileProvider { |
// Invoked on the Ui thread when new custom word is registered. |
virtual void CustomWordAddedLocally(const std::string& word) = 0; |
+ // Load custom dictionary from the disk. |
+ virtual void LoadCustomDictionary(CustomWordList* custom_words) = 0; |
+ |
+ // Wrirt a word to custom dictionary on the disk. |
+ virtual void WriteWordToCustomDictionary(const std::string& word) = 0; |
+ |
protected: |
virtual ~SpellCheckProfileProvider() {} |
}; |