HomeSort by relevance Sort by last modified time
    Searched defs:default_locale (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/chrome/common/extensions/api/i18n/
default_locale_handler.h 18 std::string default_locale; member in struct:extensions::LocaleInfo
23 // Parses the "default_locale" manifest key.
default_locale_handler.cc 30 return info ? info->default_locale : EmptyString();
42 &info->default_locale) ||
43 !l10n_util::IsValidLocaleSyntax(info->default_locale)) {
55 // default_locale and _locales have to be both present or both missing.
58 std::string default_locale = local
62 if (default_locale.empty() && !path_exists)
65 if (default_locale.empty() && path_exists) {
69 } else if (!default_locale.empty() && !path_exists) {
79 const base::FilePath default_locale_path = path.AppendASCII(default_locale);
  /external/chromium_org/chrome/browser/ui/search/
local_ntp_browsertest.cc 60 std::string default_locale = g_browser_process->GetApplicationLocale(); local
61 EXPECT_NE("fr", default_locale);
  /external/stlport/test/unit/
locale_test.cpp 224 void LocaleTest::default_locale() function in class:LocaleTest
  /ndk/tests/device/test-gnustl-full/unit/
locale_test.cpp 224 void LocaleTest::default_locale() function in class:LocaleTest
  /ndk/tests/device/test-stlport/unit/
locale_test.cpp 224 void LocaleTest::default_locale() function in class:LocaleTest
  /external/chromium/chrome/browser/renderer_host/
chrome_render_message_filter.cc 190 std::string default_locale = local
198 extension_path, extension_id, default_locale, reply_msg));
204 const std::string& default_locale,
209 if (!default_locale.empty()) {
214 extension_path, default_locale, &error));
  /external/chromium_org/base/i18n/
string_search_unittest.cc 24 std::string default_locale(uloc_getDefault());
25 bool locale_is_posix = (default_locale == "en_US_POSIX");
62 SetICUDefaultLocale(default_locale.data());
85 std::string default_locale(uloc_getDefault());
86 bool locale_is_posix = (default_locale == "en_US_POSIX");
180 SetICUDefaultLocale(default_locale.data());
193 const char* default_locale = uloc_getDefault(); local
199 SetICUDefaultLocale(default_locale);
203 std::string default_locale(uloc_getDefault());
204 bool locale_is_posix = (default_locale == "en_US_POSIX")
    [all...]
  /external/chromium/chrome/common/extensions/
extension_l10n_util.cc 42 std::string default_locale; local
43 if (manifest.GetString(keys::kDefaultLocale, &default_locale))
44 return default_locale;
140 std::string default_locale = GetDefaultLocaleFromManifest(*manifest, error); local
144 extension_path, default_locale, error));
262 const std::string& default_locale,
266 // Order locales to load as current_locale, first_parent, ..., default_locale.
268 if (!application_locale.empty() && application_locale != default_locale)
270 all_fallback_locales.push_back(default_locale);
extension_file_util.cc 372 const std::string& default_locale,
384 if (default_locale.empty() ||
385 locales.find(default_locale) == locales.end()) {
394 default_locale,
403 // default_locale and _locales have to be both present or both missing.
406 std::string default_locale = extension.default_locale(); local
409 if (default_locale.empty() && !path_exists)
412 if (default_locale.empty() && path_exists) {
416 } else if (!default_locale.empty() && !path_exists)
    [all...]
extension.h 609 const std::string default_locale() const { return default_locale_; } function in class:Extension
    [all...]
  /external/chromium_org/chrome/common/extensions/
extension_l10n_util.cc 43 std::string default_locale; local
44 if (manifest.GetString(keys::kDefaultLocale, &default_locale))
45 return default_locale;
181 std::string default_locale = GetDefaultLocaleFromManifest(*manifest, error); local
185 extension_path, default_locale, error));
247 const std::string& default_locale,
250 if (!application_locale.empty() && application_locale != default_locale)
252 all_fallback_locales->push_back(default_locale);
313 const std::string& default_locale,
318 GetAllFallbackLocales(application_locale, default_locale,
    [all...]
  /external/chromium_org/chrome/browser/renderer_host/
chrome_render_message_filter.cc 362 std::string default_locale; local
365 default_locale = extensions::LocaleInfo::GetDefaultLocale(extension);
372 this, extension_path, extension_id, default_locale, reply_msg));
378 const std::string& default_locale,
384 extension_path, extension_id, default_locale));

Completed in 334 milliseconds