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

Unified Diff: chrome/renderer/spellchecker/spellcheck.h

Issue 15940004: Add HasWord(string) method to SpellcheckCustomDictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Attempt to fix android compile again Created 7 years, 7 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/renderer/spellchecker/spellcheck.h
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h
index 58032be4f855fa0604d2188690025bdda3cd700e..c44c698dd56ac9804fa3bd74288a11c582c37548 100644
--- a/chrome/renderer/spellchecker/spellcheck.h
+++ b/chrome/renderer/spellchecker/spellcheck.h
@@ -45,7 +45,7 @@ class SpellCheck : public content::RenderProcessObserver,
// TODO: Try to move that all to SpellcheckLanguage.
void Init(base::PlatformFile file,
- const std::vector<std::string>& custom_words,
+ const std::set<std::string>& custom_words,
const std::string& language);
// If there is no dictionary file, then this requests one from the browser
@@ -119,7 +119,7 @@ class SpellCheck : public content::RenderProcessObserver,
// Message handlers.
void OnInit(IPC::PlatformFileForTransit bdict_file,
- const std::vector<std::string>& custom_words,
+ const std::set<std::string>& custom_words,
const std::string& language,
bool auto_spell_correct);
void OnCustomDictionaryChanged(

Powered by Google App Engine
This is Rietveld 408576698