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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.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/PaymentDetailsTestHelper.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.h b/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.h
deleted file mode 100644
index 4cd3a07de2a8189f10393ffa522831657351c8ed..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// 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
-
-#include "modules/payments/PaymentDetails.h"
-#include "modules/payments/PaymentItem.h"
-#include "modules/payments/ShippingOption.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-enum PaymentTestDetailToChange {
- PaymentTestDetailNone,
- PaymentTestDetailTotal,
- PaymentTestDetailItem,
- PaymentTestDetailShippingOption
-};
-
-enum PaymentTestDataToChange {
- PaymentTestDataNone,
- PaymentTestDataId,
- PaymentTestDataLabel,
- PaymentTestDataAmount,
- PaymentTestDataCurrencyCode,
- PaymentTestDataValue,
-};
-
-enum PaymentTestModificationType {
- PaymentTestOverwriteValue,
- PaymentTestRemoveKey
-};
-
-PaymentItem buildPaymentItemForTest(PaymentTestDataToChange = PaymentTestDataNone, PaymentTestModificationType = PaymentTestOverwriteValue, const String& valueToUse = String());
-
-ShippingOption buildShippingOptionForTest(PaymentTestDataToChange = PaymentTestDataNone, PaymentTestModificationType = PaymentTestOverwriteValue, const String& valueToUse = String());
-
-PaymentDetails buildPaymentDetailsForTest(PaymentTestDetailToChange = PaymentTestDetailNone, PaymentTestDataToChange = PaymentTestDataNone, PaymentTestModificationType = PaymentTestOverwriteValue, const String& valueToUse = String());
-
-} // namespace blink
-
-#endif // PaymentDetailsTestHelper_h

Powered by Google App Engine
This is Rietveld 408576698