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

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

Issue 7892048: Autofill: Remove fax number completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes. Created 9 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
Index: chrome/browser/autofill/autofill_common_test.cc
diff --git a/chrome/browser/autofill/autofill_common_test.cc b/chrome/browser/autofill/autofill_common_test.cc
index 25ae16fab53d9092e17afb457c4394b52abd9ed5..b4c3ad71bbc4dd96634711cfef46a3512c24ba4b 100644
--- a/chrome/browser/autofill/autofill_common_test.cc
+++ b/chrome/browser/autofill/autofill_common_test.cc
@@ -37,7 +37,7 @@ void SetProfileInfo(AutofillProfile* profile,
const char* last_name, const char* email, const char* company,
const char* address1, const char* address2, const char* city,
const char* state, const char* zipcode, const char* country,
- const char* phone, const char* fax) {
+ const char* phone) {
check_and_set(profile, NAME_FIRST, first_name);
check_and_set(profile, NAME_MIDDLE, middle_name);
check_and_set(profile, NAME_LAST, last_name);
@@ -50,7 +50,6 @@ void SetProfileInfo(AutofillProfile* profile,
check_and_set(profile, ADDRESS_HOME_ZIP, zipcode);
check_and_set(profile, ADDRESS_HOME_COUNTRY, country);
check_and_set(profile, PHONE_HOME_WHOLE_NUMBER, phone);
- check_and_set(profile, PHONE_FAX_WHOLE_NUMBER, fax);
}
void SetProfileInfoWithGuid(AutofillProfile* profile,
@@ -58,12 +57,12 @@ void SetProfileInfoWithGuid(AutofillProfile* profile,
const char* last_name, const char* email, const char* company,
const char* address1, const char* address2, const char* city,
const char* state, const char* zipcode, const char* country,
- const char* phone, const char* fax) {
+ const char* phone) {
if (guid)
profile->set_guid(guid);
SetProfileInfo(profile, first_name, middle_name, last_name, email,
company, address1, address2, city, state, zipcode, country,
- phone, fax);
+ phone);
}
void SetCreditCardInfo(CreditCard* credit_card,

Powered by Google App Engine
This is Rietveld 408576698