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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAppManager.h

Issue 2775343002: PaymentHandler: Initial implementation for PaymentInstruments. (Closed)
Patch Set: PaymentHandler: Initial implementation for PaymentInstruments. Created 3 years, 9 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: third_party/WebKit/Source/modules/payments/PaymentAppManager.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppManager.h b/third_party/WebKit/Source/modules/payments/PaymentAppManager.h
index fb48b6c059f2babaa20eeb5000ea8534b31f7bc2..45d9032ada00ac62efb6f86bce57cf35a4464d5d 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAppManager.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppManager.h
@@ -14,6 +14,7 @@
namespace blink {
class PaymentAppManifest;
+class PaymentInstruments;
class ScriptPromiseResolver;
class ScriptState;
class ServiceWorkerRegistration;
@@ -30,6 +31,8 @@ class MODULES_EXPORT PaymentAppManager final
ScriptPromise setManifest(ScriptState*, const PaymentAppManifest&);
ScriptPromise getManifest(ScriptState*);
+ PaymentInstruments* instruments();
+
DECLARE_TRACE();
private:
@@ -43,6 +46,7 @@ class MODULES_EXPORT PaymentAppManager final
void onServiceConnectionError();
Member<ServiceWorkerRegistration> m_registration;
+ Member<PaymentInstruments> m_instruments;
payments::mojom::blink::PaymentAppManagerPtr m_manager;
};

Powered by Google App Engine
This is Rietveld 408576698