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

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

Issue 23579009: [rAc] Move email address into billing address section. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Mac test expectations Created 7 years, 3 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/autofill_dialog_common.cc » ('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 b406bf6d7ef1ca0b8e805ac0b2219b8a0d12cda6..ef80d88f9977e5b5606920e9ab8d4a4609488259 100644
--- a/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc
+++ b/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc
@@ -83,7 +83,7 @@ void FillOutputForSectionWithComparator(
const base::string16& email_address) {
// Email is hidden while using Wallet, special case it.
- if (section == SECTION_EMAIL) {
+ if (section == SECTION_CC_BILLING) {
AutofillProfile profile;
profile.SetRawInfo(EMAIL_ADDRESS, email_address);
AutofillProfileWrapper profile_wrapper(&profile, 0);
@@ -357,8 +357,6 @@ void AutofillDialogControllerAndroid::DialogContinue(
scoped_ptr<wallet::FullWallet> full_wallet =
AutofillDialogResult::ConvertFromJava(env, wallet);
FillOutputForSection(
- SECTION_EMAIL, form_structure_, full_wallet.get(), email);
- FillOutputForSection(
SECTION_CC_BILLING, form_structure_, full_wallet.get(), email);
FillOutputForSection(
SECTION_SHIPPING, form_structure_, full_wallet.get(), email);
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698