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

Unified Diff: content/browser/payments/payment_app_database.cc

Issue 2899473003: PaymentHandler: Remove unnecessary parameters in DidHasPaymentInstrument. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « content/browser/payments/payment_app_database.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/payments/payment_app_database.cc
diff --git a/content/browser/payments/payment_app_database.cc b/content/browser/payments/payment_app_database.cc
index 6c21abc1491e9d6c09b993fc9145bd43c9a413c7..5c58b9b6e1f1f51970b90e4895b2c6ec4bd27bd5 100644
--- a/content/browser/payments/payment_app_database.cc
+++ b/content/browser/payments/payment_app_database.cc
@@ -351,13 +351,11 @@ void PaymentAppDatabase::DidFindRegistrationToHasPaymentInstrument(
service_worker_context_->GetRegistrationUserData(
registration->id(), {CreatePaymentInstrumentKey(instrument_key)},
base::Bind(&PaymentAppDatabase::DidHasPaymentInstrument,
- weak_ptr_factory_.GetWeakPtr(), registration->id(),
- instrument_key, base::Passed(std::move(callback))));
+ weak_ptr_factory_.GetWeakPtr(),
+ base::Passed(std::move(callback))));
}
void PaymentAppDatabase::DidHasPaymentInstrument(
- int64_t registration_id,
- const std::string& instrument_key,
DeletePaymentInstrumentCallback callback,
const std::vector<std::string>& data,
ServiceWorkerStatusCode status) {
« no previous file with comments | « content/browser/payments/payment_app_database.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698