| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PaymentDetailsTestHelper_h | 5 #ifndef PaymentDetailsTestHelper_h |
| 6 #define PaymentDetailsTestHelper_h | 6 #define PaymentDetailsTestHelper_h |
| 7 | 7 |
| 8 #include "modules/payments/PaymentDetails.h" | 8 #include "modules/payments/PaymentDetails.h" |
| 9 #include "wtf/text/WTFString.h" | 9 #include "wtf/text/WTFString.h" |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 PaymentTestDataLabel, | 22 PaymentTestDataLabel, |
| 23 PaymentTestDataCurrencyCode, | 23 PaymentTestDataCurrencyCode, |
| 24 PaymentTestDataAmount | 24 PaymentTestDataAmount |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 enum PaymentTestModificationType { | 27 enum PaymentTestModificationType { |
| 28 PaymentTestOverwriteValue, | 28 PaymentTestOverwriteValue, |
| 29 PaymentTestRemoveKey | 29 PaymentTestRemoveKey |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 PaymentDetails buildPaymentDetailsForTest(PaymentTestDetailToChange = PaymentTes
tDetailNone, PaymentTestDataToChange = PaymentTestDataNone, PaymentTestModificat
ionType = PaymentTestOverwriteValue, const String& valueToUse = String()); | 32 PaymentDetails buildPaymentDetailsForTest(bool setShippingOptions, PaymentTestDe
tailToChange = PaymentTestDetailNone, PaymentTestDataToChange = PaymentTestDataN
one, PaymentTestModificationType = PaymentTestOverwriteValue, const String& valu
eToUse = String()); |
| 33 | 33 |
| 34 } // namespace blink | 34 } // namespace blink |
| 35 | 35 |
| 36 #endif // PaymentDetailsTestHelper_h | 36 #endif // PaymentDetailsTestHelper_h |
| OLD | NEW |