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

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: split Created 6 years, 12 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') | chrome/browser/ui/autofill/autofill_dialog_common.h » ('J')
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 bcb81e524aa9eee2e2cf663645de2bafb9b14a25..1de50667927eb74dcdbbb5a3055fc40f4714b1a9 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, &inputs, "US");
FillOutputForSectionWithComparator(
section, inputs,
@@ -257,7 +257,7 @@ void AutofillDialogControllerAndroid::Show() {
bool request_shipping_address = false;
{
DetailInputs inputs;
- common::BuildInputsForSection(SECTION_SHIPPING, &inputs);
+ common::BuildInputsForSection(SECTION_SHIPPING, &inputs, "US");
EmptyDataModelWrapper empty_wrapper;
request_shipping_address = empty_wrapper.FillFormStructure(
inputs,
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/DEPS » ('j') | chrome/browser/ui/autofill/autofill_dialog_common.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698