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

Unified Diff: chrome/browser/autofill/address_field.h

Issue 7585020: Remove Autofill support for the ECML standard, as it is virtually unused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ECML files from the repository Created 9 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/autofill/address_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/address_field.h
diff --git a/chrome/browser/autofill/address_field.h b/chrome/browser/autofill/address_field.h
index df7976cd033aae40add69571778a6a4bbc2469ef..9a9d0d4a47ab0cd088e2cdf24be00e1e41cf8ae9 100644
--- a/chrome/browser/autofill/address_field.h
+++ b/chrome/browser/autofill/address_field.h
@@ -21,7 +21,7 @@ class AutofillScanner;
class AddressField : public FormField {
public:
- static FormField* Parse(AutofillScanner* scanner, bool is_ecml);
+ static FormField* Parse(AutofillScanner* scanner);
// Tries to determine the billing/shipping type of this address.
AddressType FindType() const;
@@ -34,42 +34,29 @@ class AddressField : public FormField {
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseOneLineAddress);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseOneLineAddressBilling);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseOneLineAddressShipping);
- FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseOneLineAddressEcml);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseTwoLineAddress);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseThreeLineAddress);
- FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseTwoLineAddressEcml);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseCity);
- FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseCityEcml);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseState);
- FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseStateEcml);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseZip);
- FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseZipEcml);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseStateAndZipOneLabel);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseCountry);
- FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseCountryEcml);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseTwoLineAddressMissingLabel);
FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseCompany);
- FRIEND_TEST_ALL_PREFIXES(AddressFieldTest, ParseCompanyEcml);
AddressField();
static bool ParseCompany(AutofillScanner* scanner,
- bool is_ecml,
AddressField* address_field);
static bool ParseAddressLines(AutofillScanner* scanner,
- bool is_ecml,
AddressField* address_field);
static bool ParseCountry(AutofillScanner* scanner,
- bool is_ecml,
AddressField* address_field);
static bool ParseZipCode(AutofillScanner* scanner,
- bool is_ecml,
AddressField* address_field);
static bool ParseCity(AutofillScanner* scanner,
- bool is_ecml,
AddressField* address_field);
static bool ParseState(AutofillScanner* scanner,
- bool is_ecml,
AddressField* address_field);
// Looks for an address type in the given text, which the caller must
« no previous file with comments | « no previous file | chrome/browser/autofill/address_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698