Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc

Issue 63053003: Ask libaddressinput for address components to use in requestAutocomplete(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc
diff --git a/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc b/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc
index bccbccbc6c11ac2f71640a368571293656b7b61c..2e67caba345d8d81c27acd50c04e949bb2db528a 100644
--- a/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc
+++ b/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc
@@ -92,7 +92,7 @@ void FillOutputForSection(
wallet::FullWallet* full_wallet,
const base::string16& email_address) {
DetailInputs inputs;
- common::BuildInputsForSection(section, &inputs);
+ common::BuildInputsForSection(section, "US", &inputs);
FillOutputForSectionWithComparator(
section, inputs,
@@ -250,7 +250,7 @@ void AutofillDialogControllerAndroid::Show() {
bool request_shipping_address = false;
{
DetailInputs inputs;
- common::BuildInputsForSection(SECTION_SHIPPING, &inputs);
+ common::BuildInputsForSection(SECTION_SHIPPING, "US", &inputs);
EmptyDataModelWrapper empty_wrapper;
request_shipping_address = empty_wrapper.FillFormStructure(
inputs,
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698