Commit 99e341b1 authored by jinho.bang's avatar jinho.bang Committed by Commit bot

PaymentHandler: Remove unnecessary parameters in DidHasPaymentInstrument.

BUG=661608

Review-Url: https://codereview.chromium.org/2899473003
Cr-Commit-Position: refs/heads/master@{#473863}
parent 193a454c
......@@ -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) {
......
......@@ -114,9 +114,7 @@ class CONTENT_EXPORT PaymentAppDatabase {
HasPaymentInstrumentCallback callback,
ServiceWorkerStatusCode status,
scoped_refptr<ServiceWorkerRegistration> registration);
void DidHasPaymentInstrument(int64_t registration_id,
const std::string& instrument_key,
DeletePaymentInstrumentCallback callback,
void DidHasPaymentInstrument(DeletePaymentInstrumentCallback callback,
const std::vector<std::string>& data,
ServiceWorkerStatusCode status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment