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

Unified Diff: components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc

Issue 2844463004: Rename card 'type' into 'issuer network.' (Closed)
Patch Set: read -> use Created 3 years, 8 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
Index: components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc
diff --git a/components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc b/components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc
index aaab921468f78816895ed3df1cf54122f0231160..594f05f6153e3e3d33ca37a50cbd01608296660e 100644
--- a/components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc
+++ b/components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc
@@ -6,7 +6,7 @@
#include <stddef.h>
-#include <set>
+#include <map>
#include <utility>
#include "base/logging.h"
@@ -75,7 +75,7 @@ CreditCard CardFromSpecifics(const sync_pb::WalletMaskedCreditCard& card) {
CreditCard result(CreditCard::MASKED_SERVER_CARD, card.id());
result.SetNumber(base::UTF8ToUTF16(card.last_four()));
result.SetServerStatus(ServerToLocalStatus(card.status()));
- result.SetTypeForMaskedCard(CardTypeFromWalletCardType(card.type()));
+ result.SetNetworkForMaskedCard(CardTypeFromWalletCardType(card.type()));
result.SetRawInfo(CREDIT_CARD_NAME_FULL,
base::UTF8ToUTF16(card.name_on_card()));
result.SetExpirationMonth(card.exp_month());
@@ -361,4 +361,4 @@ syncer::SyncMergeResult AutofillWalletSyncableService::SetSyncData(
return merge_result;
}
-} // namespace autofil
+} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698