Index: chrome/common/spellcheck_common.h |
diff --git a/chrome/common/spellcheck_common.h b/chrome/common/spellcheck_common.h |
index d11dcfc6741d3a481b9058d4f2c540efa1cfdc9d..55f82720c9035f2f3ee1e4a05e34ed42c5587a14 100644 |
--- a/chrome/common/spellcheck_common.h |
+++ b/chrome/common/spellcheck_common.h |
@@ -18,6 +18,14 @@ static const int kMaxSuggestions = 5; |
static const int kMaxAutoCorrectWordSize = 8; |
+// Maximum number of words in the custom spellcheck dictionary that can be |
+// synced. |
+static const size_t MAX_SYNCABLE_DICTIONARY_WORDS = 1300; |
+ |
+// Maximum number of bytes in a word that can be added to the custom spellcheck |
+// dictionary. |
+static const size_t MAX_CUSTOM_DICTIONARY_WORD_BYTES = 99; |
+ |
typedef std::vector<std::string> WordList; |
FilePath GetVersionedFileName(const std::string& input_language, |