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

Unified Diff: chrome/browser/autofill/credit_card.cc

Issue 555023: Notify the AutoFillManager when the user clicks "Apply" or "OK". Adds an Aut... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome/browser/autofill/credit_card.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/credit_card.cc
===================================================================
--- chrome/browser/autofill/credit_card.cc (revision 36570)
+++ chrome/browser/autofill/credit_card.cc (working copy)
@@ -29,6 +29,17 @@
label_(label) {
}
+CreditCard::CreditCard(const CreditCard& card)
+ : number_(card.number_),
+ name_on_card_(card.name_on_card_),
+ type_(card.type_),
+ verification_code_(card.verification_code_),
+ last_four_digits_(card.last_four_digits_),
+ expiration_month_(card.expiration_month_),
+ expiration_year_(card.expiration_year_),
+ label_(card.label_) {
+}
+
FormGroup* CreditCard::Clone() const {
return new CreditCard(*this);
}
@@ -243,17 +254,6 @@
expiration_year_ = expiration_year;
}
-CreditCard::CreditCard(const CreditCard& card)
- : number_(card.number_),
- name_on_card_(card.name_on_card_),
- type_(card.type_),
- verification_code_(card.verification_code_),
- last_four_digits_(card.last_four_digits_),
- expiration_month_(card.expiration_month_),
- expiration_year_(card.expiration_year_),
- label_(card.label_) {
-}
-
bool CreditCard::FindInfoMatchesHelper(const AutoFillFieldType& field_type,
const string16& info,
string16* match) const {
« no previous file with comments | « chrome/browser/autofill/credit_card.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698