HomeSort by relevance Sort by last modified time
    Searched refs:locale_path (Results 1 - 12 of 12) sorted by null

  /external/chromium/chrome/common/extensions/
extension_l10n_util.h 76 bool GetValidLocales(const FilePath& locale_path,
86 const FilePath& locale_path,
95 // |locale_path| is extension_id/_locales/xx
98 const FilePath& locale_path,
extension_l10n_util.cc 205 bool GetValidLocales(const FilePath& locale_path,
212 file_util::FileEnumerator locales(locale_path,
242 static DictionaryValue* LoadMessageFile(const FilePath& locale_path,
246 FilePath file = locale_path.AppendASCII(extension_locale)
261 const FilePath& locale_path,
278 LoadMessageFile(locale_path, all_fallback_locales[i], error));
292 const FilePath& locale_path,
298 if (!locales_path.AppendRelativePath(locale_path, &relative_path)) {
extension_unpacker.cc 130 FilePath locale_path; local
131 while (!(locale_path = locales.Next()).empty()) {
132 if (extension_l10n_util::ShouldSkipValidation(locales_path, locale_path,
137 locale_path.Append(Extension::kMessagesFilename);
extension_file_util.cc 376 FilePath locale_path = extension_path.Append(Extension::kLocaleFolder); local
377 if (!file_util::PathExists(locale_path))
381 if (!extension_l10n_util::GetValidLocales(locale_path, &locales, error))
393 locale_path,
431 FilePath locale_path; local
432 while (!(locale_path = locales.Next()).empty()) {
433 if (extension_l10n_util::ShouldSkipValidation(path, locale_path,
438 locale_path.Append(Extension::kMessagesFilename);
447 if (locale_path == default_locale_path)
  /external/chromium_org/chrome/common/extensions/api/i18n/
default_locale_handler.cc 82 base::FilePath locale_path; local
83 while (!(locale_path = locales.Next()).empty()) {
84 if (extension_l10n_util::ShouldSkipValidation(path, locale_path,
88 base::FilePath messages_path = locale_path.Append(kMessagesFilename);
97 if (locale_path == default_locale_path)
  /external/chromium_org/chrome/common/extensions/
extension_l10n_util.h 84 bool GetValidLocales(const base::FilePath& locale_path,
94 const base::FilePath& locale_path,
108 // |locale_path| is extension_id/_locales/xx
111 const base::FilePath& locale_path,
extension_l10n_util.cc 37 base::DictionaryValue* LoadMessageFile(const base::FilePath& locale_path,
40 base::FilePath file = locale_path.AppendASCII(locale)
340 bool GetValidLocales(const base::FilePath& locale_path,
347 base::FileEnumerator locales(locale_path,
375 const base::FilePath& locale_path,
390 LoadMessageFile(locale_path, all_fallback_locales[i], error));
411 base::FilePath locale_path =
415 if (!GetValidLocales(locale_path, &valid_locales, error))
422 LoadMessageFile(locale_path, *locale, &locale_error));
435 const base::FilePath& locale_path,
    [all...]
extension_file_util.cc 409 base::FilePath locale_path = extension_path.Append(extensions::kLocaleFolder); local
410 if (!base::PathExists(locale_path))
414 if (!extension_l10n_util::GetValidLocales(locale_path, &locales, error))
426 locale_path,
  /external/chromium_org/chrome/utility/extensions/
unpacker.cc 151 base::FilePath locale_path; local
152 while (!(locale_path = locales.Next()).empty()) {
153 if (extension_l10n_util::ShouldSkipValidation(locales_path, locale_path,
157 base::FilePath messages_path = locale_path.Append(kMessagesFilename);
  /external/chromium_org/ui/base/resource/
resource_bundle.cc 299 const base::FilePath& locale_path) {
306 if (!locale_path.empty() && data_pack->LoadFromPath(locale_path)) {
resource_bundle_unittest.cc 360 const base::FilePath& locale_path = dir_path().Append( local
362 EXPECT_EQ(file_util::WriteFile(locale_path, kEmptyPakContents,
369 resource_bundle->LoadTestResources(base::FilePath(), locale_path); local
resource_bundle.h 301 const base::FilePath& locale_path);

Completed in 1592 milliseconds