Home | History | Annotate | Download | only in common

Lines Matching refs:string

71 bool IsValidRegion(const std::string& region) {
82 std::string GetSpellCheckLanguageRegion(const std::string& input_language) {
86 return std::string(
94 base::FilePath GetVersionedFileName(const std::string& input_language,
110 // Generate the bdict file name using default version string or special
111 // version string, depending on the language.
112 std::string language = GetSpellCheckLanguageRegion(input_language);
113 std::string versioned_bdict_file_name(language + kDefaultVersionString +
126 std::string GetCorrespondingSpellCheckLanguage(const std::string& language) {
131 std::string spellcheck_language(
137 std::string spellcheck_language_region(
144 return std::string();
147 void SpellCheckLanguages(std::vector<std::string>* languages) {
154 void GetISOLanguageCountryCodeFromLocale(const std::string& locale,
155 std::string* language_code,
156 std::string* country_code) {
169 *language_code = std::string(language);
170 *country_code = std::string(country);