| Index: content/browser/payments/payment_manager.cc
|
| diff --git a/content/browser/payments/payment_manager.cc b/content/browser/payments/payment_manager.cc
|
| index 62aca5c85d905fd0c88f7bc6406408c5bca939c5..d8447f7facac34592089be94381de2321c0fb6ac 100644
|
| --- a/content/browser/payments/payment_manager.cc
|
| +++ b/content/browser/payments/payment_manager.cc
|
| @@ -57,23 +57,32 @@ void PaymentManager::GetManifest(const GetManifestCallback& callback) {
|
| payment_app_context_->payment_app_database()->ReadManifest(scope_, callback);
|
| }
|
|
|
| +void PaymentManager::DeletePaymentInstrument(
|
| + const std::string& instrument_key,
|
| + const PaymentManager::DeletePaymentInstrumentCallback& callback) {
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| +
|
| + payment_app_context_->payment_app_database()->DeletePaymentInstrument(
|
| + scope_, instrument_key, callback);
|
| +}
|
| +
|
| void PaymentManager::SetPaymentInstrument(
|
| - const std::string& instrumentKey,
|
| + const std::string& instrument_key,
|
| payments::mojom::PaymentInstrumentPtr details,
|
| const PaymentManager::SetPaymentInstrumentCallback& callback) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| payment_app_context_->payment_app_database()->WritePaymentInstrument(
|
| - scope_, instrumentKey, std::move(details), callback);
|
| + scope_, instrument_key, std::move(details), callback);
|
| }
|
|
|
| void PaymentManager::GetPaymentInstrument(
|
| - const std::string& instrumentKey,
|
| + const std::string& instrument_key,
|
| const PaymentManager::GetPaymentInstrumentCallback& callback) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| payment_app_context_->payment_app_database()->ReadPaymentInstrument(
|
| - scope_, instrumentKey, callback);
|
| + scope_, instrument_key, callback);
|
| }
|
|
|
| void PaymentManager::OnConnectionError() {
|
|
|