summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker/spellcheck_profile_provider.h
diff options
context:
space:
mode:
authorshinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-25 04:50:28 +0000
committershinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-25 04:50:28 +0000
commit2a824a0c59f6ecc6cfbb1ae9d25fe2b6929e2cda (patch)
tree0e11b1fb2e04e857ec62ea37c8af539e49b51765 /chrome/browser/spellchecker/spellcheck_profile_provider.h
parentb39ef1cbd64f15a141e553e0fd55e6b71606140b (diff)
downloadchromium_src-2a824a0c59f6ecc6cfbb1ae9d25fe2b6929e2cda.zip
chromium_src-2a824a0c59f6ecc6cfbb1ae9d25fe2b6929e2cda.tar.gz
chromium_src-2a824a0c59f6ecc6cfbb1ae9d25fe2b6929e2cda.tar.bz2
The current user custom spell check dictionary is shared among profiles. This should be per profile.
BUG=None TEST=SpellCheckProfileTest Review URL: http://codereview.chromium.org/8345034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker/spellcheck_profile_provider.h')
-rw-r--r--chrome/browser/spellchecker/spellcheck_profile_provider.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/spellchecker/spellcheck_profile_provider.h b/chrome/browser/spellchecker/spellcheck_profile_provider.h
index 9376982..f0685d7 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() {}
};