diff options
Diffstat (limited to 'chrome/browser/webdata/web_database_migration_unittest.cc')
-rw-r--r-- | chrome/browser/webdata/web_database_migration_unittest.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/chrome/browser/webdata/web_database_migration_unittest.cc b/chrome/browser/webdata/web_database_migration_unittest.cc index c27abb9..f326c28 100644 --- a/chrome/browser/webdata/web_database_migration_unittest.cc +++ b/chrome/browser/webdata/web_database_migration_unittest.cc @@ -57,32 +57,6 @@ void AutofillProfile31FromStatement(const sql::Statement& s, EXPECT_TRUE(guid::IsValidGUID(profile->guid())); } -void AutofillProfile32FromStatement(const sql::Statement& s, - AutofillProfile* profile, - string16* label, - int64* date_modified) { - DCHECK(profile); - DCHECK(label); - DCHECK(date_modified); - profile->set_guid(s.ColumnString(0)); - EXPECT_TRUE(guid::IsValidGUID(profile->guid())); - *label = s.ColumnString16(1); - profile->SetInfo(NAME_FIRST, s.ColumnString16(2)); - profile->SetInfo(NAME_MIDDLE, s.ColumnString16(3)); - profile->SetInfo(NAME_LAST,s.ColumnString16(4)); - profile->SetInfo(EMAIL_ADDRESS, s.ColumnString16(5)); - profile->SetInfo(COMPANY_NAME, s.ColumnString16(6)); - profile->SetInfo(ADDRESS_HOME_LINE1, s.ColumnString16(7)); - profile->SetInfo(ADDRESS_HOME_LINE2, s.ColumnString16(8)); - profile->SetInfo(ADDRESS_HOME_CITY, s.ColumnString16(9)); - profile->SetInfo(ADDRESS_HOME_STATE, s.ColumnString16(10)); - profile->SetInfo(ADDRESS_HOME_ZIP, s.ColumnString16(11)); - profile->SetInfo(ADDRESS_HOME_COUNTRY, s.ColumnString16(12)); - profile->SetInfo(PHONE_HOME_WHOLE_NUMBER, s.ColumnString16(13)); - profile->SetInfo(PHONE_FAX_WHOLE_NUMBER, s.ColumnString16(14)); - *date_modified = s.ColumnInt64(15); -} - void AutofillProfile33FromStatement(const sql::Statement& s, AutofillProfile* profile, int64* date_modified) { |