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

Unified Diff: chrome/browser/webdata/web_data_service_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/webdata/web_data_service_unittest.cc
diff --git a/chrome/browser/webdata/web_data_service_unittest.cc b/chrome/browser/webdata/web_data_service_unittest.cc
index 48a50b9383dacde158dfd6d708192d7da3eb5256..cc5c6f2124774a8cc89f1fd225b3745a3b4b9a6c 100644
--- a/chrome/browser/webdata/web_data_service_unittest.cc
+++ b/chrome/browser/webdata/web_data_service_unittest.cc
@@ -400,9 +400,9 @@ TEST_F(WebDataServiceAutofillTest, ProfileRemove) {
TEST_F(WebDataServiceAutofillTest, ProfileUpdate) {
AutofillProfile profile1;
- profile1.SetInfo(NAME_FIRST, ASCIIToUTF16("Abe"));
+ profile1.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Abe"));
AutofillProfile profile2;
- profile2.SetInfo(NAME_FIRST, ASCIIToUTF16("Alice"));
+ profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Alice"));
EXPECT_CALL(*observer_helper_->observer(), Observe(_, _, _)).
WillOnce(DoDefault()).
@@ -422,7 +422,7 @@ TEST_F(WebDataServiceAutofillTest, ProfileUpdate) {
STLDeleteElements(&consumer.result());
AutofillProfile profile1_changed(profile1);
- profile1_changed.SetInfo(NAME_FIRST, ASCIIToUTF16("Bill"));
+ profile1_changed.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Bill"));
const AutofillProfileChange expected_change(
AutofillProfileChange::UPDATE, profile1.guid(), &profile1_changed);
@@ -519,9 +519,9 @@ TEST_F(WebDataServiceAutofillTest, CreditCardRemove) {
TEST_F(WebDataServiceAutofillTest, CreditUpdate) {
CreditCard card1;
- card1.SetInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Abe"));
+ card1.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Abe"));
CreditCard card2;
- card2.SetInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Alice"));
+ card2.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Alice"));
EXPECT_CALL(*observer_helper_->observer(), Observe(_, _, _)).
Times(2).
@@ -542,7 +542,7 @@ TEST_F(WebDataServiceAutofillTest, CreditUpdate) {
STLDeleteElements(&consumer.result());
CreditCard card1_changed(card1);
- card1_changed.SetInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Bill"));
+ card1_changed.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Bill"));
const AutofillCreditCardChange expected_change(
AutofillCreditCardChange::UPDATE, card1.guid(), &card1_changed);
« no previous file with comments | « chrome/browser/webdata/autofill_table_unittest.cc ('k') | chrome/browser/webdata/web_database_migration_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698