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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover_unittest.cc

Issue 11360055: [Autofill] Rename GetInfo and SetInfo to GetRawInfo and SetRawInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix names in more tests Created 8 years, 1 month 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/browsing_data/browsing_data_remover_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
index 8f1ba2bbc730fb3eb3fffe946bd86cd36c12f138..7ef192df8543bc2f4c709be2ff3c3f2226dfccb4 100644
--- a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
@@ -374,11 +374,11 @@ class RemoveAutofillTester : public PersonalDataManagerObserver {
void AddProfile() {
AutofillProfile profile;
- profile.SetInfo(NAME_FIRST, ASCIIToUTF16("Bob"));
- profile.SetInfo(NAME_LAST, ASCIIToUTF16("Smith"));
- profile.SetInfo(ADDRESS_HOME_ZIP, ASCIIToUTF16("94043"));
- profile.SetInfo(EMAIL_ADDRESS, ASCIIToUTF16("sue@example.com"));
- profile.SetInfo(COMPANY_NAME, ASCIIToUTF16("Company X"));
+ profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Bob"));
+ profile.SetRawInfo(NAME_LAST, ASCIIToUTF16("Smith"));
+ profile.SetRawInfo(ADDRESS_HOME_ZIP, ASCIIToUTF16("94043"));
+ profile.SetRawInfo(EMAIL_ADDRESS, ASCIIToUTF16("sue@example.com"));
+ profile.SetRawInfo(COMPANY_NAME, ASCIIToUTF16("Company X"));
std::vector<AutofillProfile> profiles;
profiles.push_back(profile);
@@ -386,7 +386,7 @@ class RemoveAutofillTester : public PersonalDataManagerObserver {
MessageLoop::current()->Run();
CreditCard card;
- card.SetInfo(CREDIT_CARD_NUMBER, ASCIIToUTF16("1234-5678-9012-3456"));
+ card.SetRawInfo(CREDIT_CARD_NUMBER, ASCIIToUTF16("1234-5678-9012-3456"));
std::vector<CreditCard> cards;
cards.push_back(card);

Powered by Google App Engine
This is Rietveld 408576698