Home
last modified time | relevance | path

Searched refs:app_locale (Results 1 – 25 of 84) sorted by relevance

1234

/external/chromium_org/components/autofill/core/browser/
Dphone_number.cc31 const std::string& app_locale) { in GetRegion() argument
36 return AutofillCountry::CountryCodeForLocale(app_locale); in GetRegion()
101 const std::string& app_locale) const { in GetInfo()
103 UpdateCacheIfNeeded(app_locale); in GetInfo()
137 const std::string& app_locale) { in SetInfo() argument
144 UpdateCacheIfNeeded(app_locale); in SetInfo()
150 const std::string& app_locale, in GetMatchingTypes() argument
154 FormGroup::GetMatchingTypes(stripped_text, app_locale, matching_types); in GetMatchingTypes()
158 base::string16 number = GetInfo(AutofillType(PHONE_HOME_NUMBER), app_locale); in GetMatchingTypes()
159 if (GetRegion(*profile_, app_locale) == "US" && in GetMatchingTypes()
[all …]
Dautofill_profile.h45 const std::string& app_locale,
51 const std::string& app_locale) const OVERRIDE;
54 const std::string& app_locale) OVERRIDE;
60 const std::string& app_locale) const OVERRIDE;
68 const std::string& app_locale,
72 bool IsEmpty(const std::string& app_locale) const;
100 const std::string& app_locale) const;
105 const std::string& app_locale);
146 const std::string& app_locale,
154 const std::string& app_locale,
Dform_group.cc12 const std::string& app_locale, in GetMatchingTypes() argument
23 if (GetInfo(AutofillType(*type), app_locale) == text) in GetMatchingTypes()
28 void FormGroup::GetNonEmptyTypes(const std::string& app_locale, in GetNonEmptyTypes() argument
34 if (!GetInfo(AutofillType(*type), app_locale).empty()) in GetNonEmptyTypes()
40 const std::string& app_locale) const { in GetInfo()
46 const std::string& app_locale) { in SetInfo() argument
Dautofill_profile.cc125 const std::string& app_locale) { in GetFormGroupInfo() argument
126 return app_locale.empty() ? in GetFormGroupInfo()
128 form_group.GetInfo(type, app_locale); in GetFormGroupInfo()
148 const std::string& app_locale, in CopyItemsToValues() argument
152 (*values)[i] = GetFormGroupInfo(form_group_items[i], type, app_locale); in CopyItemsToValues()
191 const std::string& app_locale) in FindByPhone() argument
194 app_locale_(app_locale) { in FindByPhone()
268 const std::string& app_locale, in GetMatchingTypes() argument
272 (*it)->GetMatchingTypes(text, app_locale, matching_types); in GetMatchingTypes()
291 const std::string& app_locale) const { in GetInfo()
[all …]
Dcredit_card.cc65 const std::string& app_locale, in ConvertMonth() argument
78 if (app_locale.empty()) in ConvertMonth()
86 icu::Locale locale(app_locale.c_str()); in ConvertMonth()
388 const std::string& app_locale) const { in GetInfo()
398 const std::string& app_locale) { in SetInfo() argument
403 SetExpirationMonthFromString(value, app_locale); in SetInfo()
411 const std::string& app_locale, in GetMatchingTypes() argument
413 FormGroup::GetMatchingTypes(text, app_locale, matching_types); in GetMatchingTypes()
416 GetInfo(AutofillType(CREDIT_CARD_NUMBER), app_locale); in GetMatchingTypes()
421 if (ConvertMonth(text, app_locale, &month) && month != 0 && in GetMatchingTypes()
[all …]
Dcredit_card.h51 const std::string& app_locale,
57 const std::string& app_locale) const OVERRIDE;
60 const std::string& app_locale) OVERRIDE;
90 const std::string& app_locale) WARN_UNUSED_RESULT;
105 bool IsEmpty(const std::string& app_locale) const;
131 const std::string& app_locale);
Dform_group.h27 const std::string& app_locale,
32 virtual void GetNonEmptyTypes(const std::string& app_locale,
48 const std::string& app_locale) const;
54 const std::string& app_locale);
Dphone_number.h34 const std::string& app_locale,
40 const std::string& app_locale) const OVERRIDE;
43 const std::string& app_locale) OVERRIDE;
66 const std::string& app_locale,
86 void UpdateCacheIfNeeded(const std::string& app_locale) const;
Daddress.cc132 const std::string& app_locale) const { in GetInfo()
138 return AutofillCountry(country_code_, app_locale).name(); in GetInfo()
145 const std::string& app_locale) { in SetInfo() argument
158 country_code_ = AutofillCountry::GetCountryCode(value, app_locale); in SetInfo()
188 const std::string& app_locale, in GetMatchingTypes() argument
190 FormGroup::GetMatchingTypes(text, app_locale, matching_types); in GetMatchingTypes()
193 std::string country_code = AutofillCountry::GetCountryCode(text, app_locale); in GetMatchingTypes()
Dautofill_ie_toolbar_import_win.cc35 bool ImportCurrentUserProfiles(const std::string& app_locale,
142 const std::string& app_locale, in ImportSingleFormGroup() argument
168 form_group->SetInfo(AutofillType(it->second), field_value, app_locale); in ImportSingleFormGroup()
179 bool ImportSingleProfile(const std::string& app_locale, in ImportSingleProfile() argument
185 ImportSingleFormGroup(key, reg_to_field, app_locale, profile, &phone); in ImportSingleProfile()
189 if (phone.ParseNumber(*profile, app_locale, &constructed_number)) { in ImportSingleProfile()
207 if (!ImportCurrentUserProfiles(personal_data_manager_->app_locale(), in ImportProfiles()
246 bool ImportCurrentUserProfiles(const std::string& app_locale, in ImportCurrentUserProfiles() argument
268 if (ImportSingleProfile(app_locale, key, reg_to_field, &profile)) { in ImportCurrentUserProfiles()
293 key, reg_to_field, app_locale, &credit_card, NULL)) { in ImportCurrentUserProfiles()
Daddress.h31 const std::string& app_locale) const OVERRIDE;
34 const std::string& app_locale) OVERRIDE;
37 const std::string& app_locale,
Dautofill_field.cc98 const std::string& app_locale, in FillCountrySelectControl() argument
100 std::string country_code = AutofillCountry::GetCountryCode(value, app_locale); in FillCountrySelectControl()
111 if (country_code == AutofillCountry::GetCountryCode(value, app_locale) || in FillCountrySelectControl()
112 country_code == AutofillCountry::GetCountryCode(contents, app_locale)) { in FillCountrySelectControl()
228 const std::string& app_locale, in FillSelectControl() argument
248 FillCountrySelectControl(value, app_locale, field); in FillSelectControl()
393 const std::string& app_locale, in FillFormField() argument
400 FillSelectControl(type, value, app_locale, field_data); in FillFormField()
Dautofill_data_model.cc21 const std::string& app_locale) const { in GetInfoForVariant()
22 return GetInfo(type, app_locale); in GetInfoForVariant()
Dpersonal_data_manager.h52 explicit PersonalDataManager(const std::string& app_locale);
171 const std::string& app_locale() const { return app_locale_; } in app_locale() function
175 const std::string& app_locale);
184 const std::string& app_locale,
Dpersonal_data_manager.cc68 explicit IsEmptyFunctor(const std::string& app_locale) in IsEmptyFunctor() argument
69 : app_locale_(app_locale) { in IsEmptyFunctor()
86 const std::string& app_locale) { in IsMinimumAddress() argument
94 country_code = AutofillCountry::CountryCodeForLocale(app_locale); in IsMinimumAddress()
96 AutofillCountry country(country_code, app_locale); in IsMinimumAddress()
142 PersonalDataManager::PersonalDataManager(const std::string& app_locale) in PersonalDataManager() argument
147 app_locale_(app_locale), in PersonalDataManager()
688 const std::string& app_locale) { in IsValidLearnableProfile() argument
689 if (!IsMinimumAddress(profile, app_locale)) in IsValidLearnableProfile()
711 const std::string& app_locale, in MergeProfile() argument
[all …]
/external/chromium_org/chrome/browser/ui/autofill/
Dcountry_combobox_model.cc17 std::string app_locale = g_browser_process->GetApplicationLocale(); in CountryComboboxModel() local
22 countries_.push_back(new AutofillCountry(default_country_code, app_locale)); in CountryComboboxModel()
33 sorted_countries.push_back(new AutofillCountry(*iter, app_locale)); in CountryComboboxModel()
36 l10n_util::SortStringsUsingMethod(app_locale, in CountryComboboxModel()
/external/chromium_org/printing/
Dprinting_context_no_system_dialog.cc18 PrintingContext* PrintingContext::Create(const std::string& app_locale) { in Create() argument
20 new PrintingContextNoSystemDialog(app_locale)); in Create()
24 const std::string& app_locale) : PrintingContext(app_locale) { in PrintingContextNoSystemDialog() argument
Dprinting_context_gtk.cc29 PrintingContext* PrintingContext::Create(const std::string& app_locale) { in Create() argument
30 return static_cast<PrintingContext*>(new PrintingContextGtk(app_locale)); in Create()
33 PrintingContextGtk::PrintingContextGtk(const std::string& app_locale) in PrintingContextGtk() argument
34 : PrintingContext(app_locale), in PrintingContextGtk()
Dprinting_context_android.cc64 PrintingContext* PrintingContext::Create(const std::string& app_locale) { in Create() argument
65 return new PrintingContextAndroid(app_locale); in Create()
74 PrintingContextAndroid::PrintingContextAndroid(const std::string& app_locale) in PrintingContextAndroid() argument
75 : PrintingContext(app_locale) { in PrintingContextAndroid()
/external/chromium/chrome/browser/ui/webui/options/
Dlanguage_options_handler.cc52 const std::string app_locale = g_browser_process->GetApplicationLocale(); in GetLanguageList() local
54 l10n_util::GetAcceptLanguagesForLocale(app_locale, &language_codes); in GetLanguageList()
69 l10n_util::GetDisplayNameForLocale(language_codes[i], app_locale, in GetLanguageList()
83 l10n_util::SortStrings16(app_locale, &display_names); in GetLanguageList()
/external/chromium_org/chrome/browser/ui/webui/options/
Dlanguage_options_handler.cc61 const std::string app_locale = g_browser_process->GetApplicationLocale(); in GetLanguageList() local
63 l10n_util::GetAcceptLanguagesForLocale(app_locale, &language_codes); in GetLanguageList()
78 l10n_util::GetDisplayNameForLocale(language_codes[i], app_locale, in GetLanguageList()
90 l10n_util::SortStrings16(app_locale, &display_names); in GetLanguageList()
/external/chromium/chrome/browser/autofill/
Daddress.cc161 std::string app_locale = AutofillCountry::ApplicationLocale(); in Country() local
162 return AutofillCountry(country_code(), app_locale).name(); in Country()
184 std::string app_locale = AutofillCountry::ApplicationLocale(); in SetCountry() local
185 country_code_ = AutofillCountry::GetCountryCode(country, app_locale); in SetCountry()
205 std::string app_locale = AutofillCountry::ApplicationLocale(); in IsCountry() local
206 std::string country_code = AutofillCountry::GetCountryCode(text, app_locale); in IsCountry()
/external/chromium_org/chrome/browser/ui/webui/translate_internals/
Dtranslate_internals_ui.cc33 const std::string app_locale = g_browser_process->GetApplicationLocale(); in GetLanguages() local
35 l10n_util::GetAcceptLanguagesForLocale(app_locale, &language_codes); in GetLanguages()
41 l10n_util::GetDisplayNameForLocale(lang_code, app_locale, false); in GetLanguages()
/external/chromium_org/chrome/browser/webdata/
Dautofill_profile_syncable_service.h57 const std::string& app_locale);
90 const std::string& app_locale);
136 const std::string& app_locale);
182 const std::string& app_locale);
/external/chromium_org/components/autofill/content/browser/
Dautofill_driver_impl.cc37 const std::string& app_locale, in CreateForWebContentsAndDelegate() argument
45 app_locale, in CreateForWebContentsAndDelegate()
59 const std::string& app_locale, in AutofillDriverImpl() argument
63 this, delegate, app_locale, enable_download_manager)), in AutofillDriverImpl()

1234