Searched refs:pref_locale (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/remoting/base/
H A Dresources_win.cc9 bool LoadResources(const std::string& pref_locale) { argument
H A Dresources.h12 // Loads (or reloads) Chromoting resources for the given locale. |pref_locale|
14 // is used if |pref_locale| is empty. Returns |true| if the shared resource
16 bool LoadResources(const std::string& pref_locale);
H A Dresources_mac.cc17 bool LoadResources(const std::string& pref_locale) { argument
19 ui::ResourceBundle::GetSharedInstance().ReloadLocaleResources(pref_locale);
32 if (pref_locale.empty())
36 pref_locale, NULL, ui::ResourceBundle::DO_NOT_LOAD_COMMON_RESOURCES);
H A Dresources_linux.cc21 bool LoadResources(const std::string& pref_locale) { argument
23 ui::ResourceBundle::GetSharedInstance().ReloadLocaleResources(pref_locale);
35 pref_locale, NULL, ui::ResourceBundle::DO_NOT_LOAD_COMMON_RESOURCES);
/external/chromium_org/ui/base/l10n/
H A Dl10n_util.cc405 std::string GetApplicationLocaleInternal(const std::string& pref_locale) { argument
412 app_locale = pref_locale;
434 if (!pref_locale.empty())
435 candidates.push_back(GetCanonicalLocale(pref_locale));
472 if (!pref_locale.empty())
473 candidates.push_back(pref_locale);
495 std::string GetApplicationLocale(const std::string& pref_locale, argument
497 const std::string locale = GetApplicationLocaleInternal(pref_locale);
503 std::string GetApplicationLocale(const std::string& pref_locale) { argument
504 return GetApplicationLocale(pref_locale, tru
[all...]
H A Dl10n_util.h41 // as |pref_locale|), finally, we fall back on the system locale. We only return
45 UI_BASE_EXPORT std::string GetApplicationLocale(const std::string& pref_locale,
50 UI_BASE_EXPORT std::string GetApplicationLocale(const std::string& pref_locale);
/external/chromium_org/chrome/browser/chromeos/login/session/
H A Duser_session_manager.cc398 std::string pref_locale;
404 pref_locale = pref_app_locale;
405 if (pref_locale.empty())
406 pref_locale = pref_bkup_locale;
409 if (pref_locale.empty() && user->has_gaia_account()) {
413 pref_locale = *account_locale;
417 if (pref_locale.empty())
418 pref_locale = global_app_locale;
419 DCHECK(!pref_locale.empty());
427 << " Selected '" << pref_locale << "'";
[all...]
/external/chromium_org/ui/base/resource/
H A Dresource_bundle.h134 const std::string& pref_locale,
190 std::string ReloadLocaleResources(const std::string& pref_locale);
321 std::string LoadLocaleResources(const std::string& pref_locale);
H A Dresource_bundle.cc167 const std::string& pref_locale,
173 std::string result = g_shared_instance_->LoadLocaleResources(pref_locale);
295 const std::string& pref_locale) {
297 std::string app_locale = l10n_util::GetApplicationLocale(pref_locale);
358 const std::string& pref_locale) {
365 return LoadLocaleResources(pref_locale);
166 InitSharedInstanceWithLocale( const std::string& pref_locale, Delegate* delegate, LoadResources load_resources) argument
294 LoadLocaleResources( const std::string& pref_locale) argument
357 ReloadLocaleResources( const std::string& pref_locale) argument
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_impl.cc1204 std::string pref_locale = GetPrefs()->GetString(prefs::kApplicationLocale);
1222 if (!pref_locale.empty()) {
1223 DCHECK(pref_locale == new_locale);

Completed in 2698 milliseconds