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

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: Reflected reviewer's comment. 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..79a8dbebea3b36a8ce22d9751f1fdb05d2848cfb 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;
+ // Load custom dictionary from the disk.
Hironori Bono 2011/10/20 02:20:36 nit: 'Load custom dictionary' -> 'Loads the custom
shinyak (Google) 2011/10/20 04:08:43 Done.
+ virtual void LoadCustomDictionary(CustomWordList* custom_words) = 0;
+
+ // Wrirt a word to custom dictionary on the disk.
Hironori Bono 2011/10/20 02:20:36 nit: 'Wrirt' -> 'Writes', 'to custom dictionary' -
shinyak (Google) 2011/10/20 04:08:43 Done.
+ virtual void WriteWordToCustomDictionary(const std::string& word) = 0;
+
protected:
virtual ~SpellCheckProfileProvider() {}
};

Powered by Google App Engine
This is Rietveld 408576698