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

Unified Diff: components/autofill/core/browser/personal_data_manager.h

Issue 2413533003: [Payments] Normalize billing address before sending to the merchant. (Closed)
Patch Set: Addressed comments Created 4 years, 2 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/personal_data_manager.h
diff --git a/components/autofill/core/browser/personal_data_manager.h b/components/autofill/core/browser/personal_data_manager.h
index e0a86900c278ded9167a9176179322c6c8556b36..b71a0efe0377f98e503c68a4f476ff48e00dfe52 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -167,6 +167,12 @@ class PersonalDataManager : public KeyedService,
// Sets a server credit card for test.
void AddServerCreditCardForTest(std::unique_ptr<CreditCard> credit_card);
+ // Sets a server credit card for test.
+ void UpdateCreditCardForTest(const CreditCard& credit_card);
+
+ // Sets a server credit card for test.
+ void UpdateProfileForTest(const AutofillProfile& profile);
please use gerrit instead 2016/10/18 17:30:32 No tests in this patch, so let's not add test scaf
sebsg 2016/10/18 22:44:32 Done.
+
// Returns the credit card with the specified |guid|, or NULL if there is
// no credit card with the specified |guid|.
CreditCard* GetCreditCardByGUID(const std::string& guid);

Powered by Google App Engine
This is Rietveld 408576698