Home
last modified time | relevance | path

Searched refs:locale_path (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/common/extensions/
Dextension_l10n_util.cc205 bool GetValidLocales(const FilePath& locale_path, in GetValidLocales() argument
212 file_util::FileEnumerator locales(locale_path, in GetValidLocales()
242 static DictionaryValue* LoadMessageFile(const FilePath& locale_path, in LoadMessageFile() argument
246 FilePath file = locale_path.AppendASCII(extension_locale) in LoadMessageFile()
261 const FilePath& locale_path, in LoadMessageCatalogs() argument
278 LoadMessageFile(locale_path, all_fallback_locales[i], error)); in LoadMessageCatalogs()
292 const FilePath& locale_path, in ShouldSkipValidation() argument
298 if (!locales_path.AppendRelativePath(locale_path, &relative_path)) { in ShouldSkipValidation()
Dextension_l10n_util.h76 bool GetValidLocales(const FilePath& locale_path,
86 const FilePath& locale_path,
98 const FilePath& locale_path,
Dextension_file_util.cc376 FilePath locale_path = extension_path.Append(Extension::kLocaleFolder); in LoadExtensionMessageBundle() local
377 if (!file_util::PathExists(locale_path)) in LoadExtensionMessageBundle()
381 if (!extension_l10n_util::GetValidLocales(locale_path, &locales, error)) in LoadExtensionMessageBundle()
393 locale_path, in LoadExtensionMessageBundle()
431 FilePath locale_path; in ValidateLocaleInfo() local
432 while (!(locale_path = locales.Next()).empty()) { in ValidateLocaleInfo()
433 if (extension_l10n_util::ShouldSkipValidation(path, locale_path, in ValidateLocaleInfo()
438 locale_path.Append(Extension::kMessagesFilename); in ValidateLocaleInfo()
447 if (locale_path == default_locale_path) in ValidateLocaleInfo()
Dextension_unpacker.cc130 FilePath locale_path; in ReadAllMessageCatalogs() local
131 while (!(locale_path = locales.Next()).empty()) { in ReadAllMessageCatalogs()
132 if (extension_l10n_util::ShouldSkipValidation(locales_path, locale_path, in ReadAllMessageCatalogs()
137 locale_path.Append(Extension::kMessagesFilename); in ReadAllMessageCatalogs()