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

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

Issue 2790013002: PaymentHandler: Implement set/get methods in PaymentInstruments (blink) (Closed)
Patch Set: blink Created 3 years, 8 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: content/browser/payments/payment_manager.cc
diff --git a/content/browser/payments/payment_manager.cc b/content/browser/payments/payment_manager.cc
index 6d77f7ce7befb2dc69be482231915b567622bce0..b548df250c254d582e6d6e35845d60fa68b780b4 100644
--- a/content/browser/payments/payment_manager.cc
+++ b/content/browser/payments/payment_manager.cc
@@ -57,6 +57,20 @@ void PaymentManager::GetManifest(const GetManifestCallback& callback) {
payment_app_context_->payment_app_database()->ReadManifest(scope_, callback);
}
+void PaymentManager::SetPaymentInstrument(
+ const std::string& instrumentKey,
+ payments::mojom::PaymentInstrumentPtr details,
+ const PaymentManager::SetPaymentInstrumentCallback& callback) {
+ callback.Run(payments::mojom::PaymentHandlerStatus::NOT_IMPLEMENTED);
+}
+
+void PaymentManager::GetPaymentInstrument(
+ const std::string& instrumentKey,
+ const PaymentManager::GetPaymentInstrumentCallback& callback) {
+ callback.Run(payments::mojom::PaymentInstrument::New(),
+ payments::mojom::PaymentHandlerStatus::NOT_IMPLEMENTED);
+}
+
void PaymentManager::OnConnectionError() {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
payment_app_context_->PaymentManagerHadConnectionError(this);
« no previous file with comments | « content/browser/payments/payment_manager.h ('k') | third_party/WebKit/Source/modules/payments/PaymentInstruments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698