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

Unified Diff: chrome/browser/views/autofill_profiles_view_win.h

Issue 3265005: fix for [AutoFill credit cards] Editing last 4 digit card number is not save... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/views/autofill_profiles_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/autofill_profiles_view_win.h
===================================================================
--- chrome/browser/views/autofill_profiles_view_win.h (revision 57601)
+++ chrome/browser/views/autofill_profiles_view_win.h (working copy)
@@ -155,7 +155,6 @@
// and then rebuild EditableSetViewContents.
struct EditableSetInfo {
bool is_address;
- bool has_credit_card_number_been_edited;
// If |is_address| is true |address| has some data and |credit_card|
// is empty, and vice versa
AutoFillProfile address;
@@ -163,13 +162,11 @@
explicit EditableSetInfo(const AutoFillProfile* input_address)
: address(*input_address),
- is_address(true),
- has_credit_card_number_been_edited(false) {
+ is_address(true) {
}
explicit EditableSetInfo(const CreditCard* input_credit_card)
: credit_card(*input_credit_card),
- is_address(false),
- has_credit_card_number_been_edited(false) {
+ is_address(false) {
}
};
@@ -329,6 +326,7 @@
views::Textfield* text_fields_[MAX_TEXT_FIELD];
std::vector<EditableSetInfo>::iterator editable_fields_set_;
EditableSetInfo temporary_info_;
+ bool has_credit_card_number_been_edited_;
AutoFillProfilesView* observer_;
AddressComboBoxModel* billing_model_;
views::Combobox* combo_box_billing_;
« no previous file with comments | « no previous file | chrome/browser/views/autofill_profiles_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698