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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentTestHelper.h

Issue 2101463002: PaymentRequest: Implement PaymentDetailsModifier dictionary (in blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 6 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: third_party/WebKit/Source/modules/payments/PaymentTestHelper.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h
index 30249f54837466d11ecdaa19238995f188998e3f..b19b1a15c140e50944260784814fb8396d4eebdf 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h
@@ -28,7 +28,9 @@ enum PaymentTestDetailToChange {
PaymentTestDetailNone,
PaymentTestDetailTotal,
PaymentTestDetailItem,
- PaymentTestDetailShippingOption
+ PaymentTestDetailShippingOption,
+ PaymentTestDetailModifierTotal,
+ PaymentTestDetailModifierItem
};
enum PaymentTestDataToChange {
@@ -49,6 +51,8 @@ PaymentItem buildPaymentItemForTest(PaymentTestDataToChange = PaymentTestDataNon
PaymentShippingOption buildShippingOptionForTest(PaymentTestDataToChange = PaymentTestDataNone, PaymentTestModificationType = PaymentTestOverwriteValue, const String& valueToUse = String());
+PaymentDetailsModifier buildPaymentDetailsModifierForTest(PaymentTestDetailToChange = PaymentTestDetailNone, PaymentTestDataToChange = PaymentTestDataNone, PaymentTestModificationType = PaymentTestOverwriteValue, const String& valueToUse = String());
+
PaymentDetails buildPaymentDetailsForTest(PaymentTestDetailToChange = PaymentTestDetailNone, PaymentTestDataToChange = PaymentTestDataNone, PaymentTestModificationType = PaymentTestOverwriteValue, const String& valueToUse = String());
HeapVector<PaymentMethodData> buildPaymentMethodDataForTest();

Powered by Google App Engine
This is Rietveld 408576698