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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentManager.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/PaymentManager.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentManager.h b/third_party/WebKit/Source/modules/payments/PaymentManager.h
index fb7f1cc437cc34cc9f471c60b0c29b2718976257..3b091d6f6d62024184203d44db819d226c52d7da 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentManager.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentManager.h
@@ -14,6 +14,7 @@
namespace blink {
class PaymentAppManifest;
+class PaymentInstruments;
class ScriptPromiseResolver;
class ScriptState;
class ServiceWorkerRegistration;
@@ -30,6 +31,8 @@ class MODULES_EXPORT PaymentManager final
ScriptPromise setManifest(ScriptState*, const PaymentAppManifest&);
ScriptPromise getManifest(ScriptState*);
+ PaymentInstruments* instruments();
+
DECLARE_TRACE();
private:
@@ -43,6 +46,7 @@ class MODULES_EXPORT PaymentManager final
void onServiceConnectionError();
Member<ServiceWorkerRegistration> m_registration;
+ Member<PaymentInstruments> m_instruments;
payments::mojom::blink::PaymentManagerPtr m_manager;
};

Powered by Google App Engine
This is Rietveld 408576698