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

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.h

Issue 1861543003: DO NOT SUBMIT This fixes CFI bot, but it's ugly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698