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

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: Rebase harder 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 78d12af99812ce44651badb12b99cff9d251824c..a452429fd28c96c88611907ddaec91498640f0c9 100644
--- a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
@@ -375,11 +375,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);
@@ -387,7 +387,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);
« no previous file with comments | « chrome/browser/autofill/select_control_handler_unittest.cc ('k') | chrome/browser/sync/test/integration/autofill_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698