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

Unified Diff: chrome/test/data/android/payments/active_payment_query.js

Issue 2545523004: Rename canMakeActivePayment to canMakePayment (Closed)
Patch Set: Rebase Created 4 years 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: chrome/test/data/android/payments/active_payment_query.js
diff --git a/chrome/test/data/android/payments/active_payment_query.js b/chrome/test/data/android/payments/active_payment_query.js
deleted file mode 100644
index ac0f3156ed2a345954cedce3e7a858d71f3f7f55..0000000000000000000000000000000000000000
--- a/chrome/test/data/android/payments/active_payment_query.js
+++ /dev/null
@@ -1,28 +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.
- */
-
-/* global PaymentRequest:false */
-/* global print:false */
-
-/**
- * Checks for existence of Bob Pay or a complete credit card.
- */
-function buy() { // eslint-disable-line no-unused-vars
- try {
- var request = new PaymentRequest(
- [{supportedMethods: ['https://bobpay.com', 'visa']}],
- {total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}});
- request.canMakeActivePayment()
- .then(function(result) {
- print(result);
- })
- .catch(function(error) {
- print(error);
- });
- } catch (error) {
- print(error.message);
- }
-}
« no previous file with comments | « chrome/browser/payments/payment_request_impl.h ('k') | chrome/test/data/android/payments/active_payment_query_bobpay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698