summaryrefslogtreecommitdiffstats
path: root/chrome/common/spellcheck_common.cc
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 04:57:05 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 04:57:05 +0000
commitb7dac7135c6add2197d316b2334195d3c11f6f17 (patch)
treeb53a671446a1b2834055f4a8e4b30e0cd4966f49 /chrome/common/spellcheck_common.cc
parent3b9f5aa2dba5e4374ced0b20a7fc14e57de08c21 (diff)
downloadchromium_src-b7dac7135c6add2197d316b2334195d3c11f6f17.zip
chromium_src-b7dac7135c6add2197d316b2334195d3c11f6f17.tar.gz
chromium_src-b7dac7135c6add2197d316b2334195d3c11f6f17.tar.bz2
Adds unit tests for Serbian and Ukranian dictionaries.
This change is unit tests for <http://codereview.chromium.org/2805065/show>. BUG=43011,40340 TEST=unit_test --gtest_filter=SpellCheckTest* Review URL: http://codereview.chromium.org/2807035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/spellcheck_common.cc')
-rw-r--r--chrome/common/spellcheck_common.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/spellcheck_common.cc b/chrome/common/spellcheck_common.cc
index d1abfa5..c52dcba 100644
--- a/chrome/common/spellcheck_common.cc
+++ b/chrome/common/spellcheck_common.cc
@@ -46,8 +46,10 @@ static const struct {
{"ru", "ru-RU"},
{"sk", "sk-SK"},
{"sl", "sl-SI"},
+ {"sr", "sr"},
{"sv", "sv-SE"},
{"tr", "tr-TR"},
+ {"uk", "uk-UA"},
{"vi", "vi-VN"},
};
@@ -98,6 +100,8 @@ FilePath GetVersionedFileName(const std::string& input_language,
{"ro-RO", "-2-0"},
{"ru-RU", "-2-0"},
{"bg-BG", "-2-0"},
+ {"sr", "-2-0"},
+ {"uk-UA", "-2-0"},
};
// Generate the bdict file name using default version string or special