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

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

Issue 2020883002: PaymentRequest: Introduce PaymentMethodData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/PaymentDetailsTestHelper.h b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h
similarity index 87%
rename from third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.h
rename to third_party/WebKit/Source/modules/payments/PaymentTestHelper.h
index 4cd3a07de2a8189f10393ffa522831657351c8ed..bfe00dba76a558886a16b2d2463768518e3cf41a 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PaymentDetailsTestHelper_h
-#define PaymentDetailsTestHelper_h
+#ifndef PaymentTestHelper_h
+#define PaymentTestHelper_h
#include "modules/payments/PaymentDetails.h"
#include "modules/payments/PaymentItem.h"
+#include "modules/payments/PaymentMethodData.h"
#include "modules/payments/ShippingOption.h"
#include "wtf/text/WTFString.h"
@@ -39,6 +40,8 @@ ShippingOption buildShippingOptionForTest(PaymentTestDataToChange = PaymentTestD
PaymentDetails buildPaymentDetailsForTest(PaymentTestDetailToChange = PaymentTestDetailNone, PaymentTestDataToChange = PaymentTestDataNone, PaymentTestModificationType = PaymentTestOverwriteValue, const String& valueToUse = String());
+HeapVector<PaymentMethodData> buildPaymentMethodDataForTest();
+
} // namespace blink
-#endif // PaymentDetailsTestHelper_h
+#endif // PaymentTestHelper_h

Powered by Google App Engine
This is Rietveld 408576698