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

Unified Diff: chrome/common/spellcheck_common.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/common/spellcheck_common.h
diff --git a/chrome/common/spellcheck_common.h b/chrome/common/spellcheck_common.h
index a79aa1ce011f14ae90ec74c522c2434322137a6a..9c3f706f031d22b16aa13e6531a3a4ab00c8accd 100644
--- a/chrome/common/spellcheck_common.h
+++ b/chrome/common/spellcheck_common.h
@@ -5,6 +5,7 @@
#ifndef CHROME_COMMON_SPELLCHECK_COMMON_H_
#define CHROME_COMMON_SPELLCHECK_COMMON_H_
+#include <set>
#include <string>
#include <vector>
@@ -40,6 +41,7 @@ static const size_t MAX_SYNCABLE_DICTIONARY_WORDS = 1300;
static const size_t MAX_CUSTOM_DICTIONARY_WORD_BYTES = 99;
typedef std::vector<std::string> WordList;
+typedef std::set<std::string> WordSet;
base::FilePath GetVersionedFileName(const std::string& input_language,
const base::FilePath& dict_dir);

Powered by Google App Engine
This is Rietveld 408576698