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

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

Issue 2875493003: PaymentHandler: Remove PaymentAppManifest and PaymentAppOption. (Closed)
Patch Set: global-interface-listing Created 3 years, 7 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 d1d1d477d9d9dfd6b4659ab250a219b9190567a9..b88e146f221f4cb7497e5047a6dec1df264a3614 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentManager.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentManager.h
@@ -13,10 +13,7 @@
namespace blink {
-class PaymentAppManifest;
class PaymentInstruments;
-class ScriptPromiseResolver;
-class ScriptState;
class ServiceWorkerRegistration;
class MODULES_EXPORT PaymentManager final
@@ -28,9 +25,6 @@ class MODULES_EXPORT PaymentManager final
public:
static PaymentManager* Create(ServiceWorkerRegistration*);
- ScriptPromise setManifest(ScriptState*, const PaymentAppManifest&);
- ScriptPromise getManifest(ScriptState*);
-
PaymentInstruments* instruments();
DECLARE_TRACE();
@@ -38,11 +32,6 @@ class MODULES_EXPORT PaymentManager final
private:
explicit PaymentManager(ServiceWorkerRegistration*);
- void OnSetManifest(ScriptPromiseResolver*,
- payments::mojom::blink::PaymentAppManifestError);
- void OnGetManifest(ScriptPromiseResolver*,
- payments::mojom::blink::PaymentAppManifestPtr,
- payments::mojom::blink::PaymentAppManifestError);
void OnServiceConnectionError();
Member<ServiceWorkerRegistration> registration_;

Powered by Google App Engine
This is Rietveld 408576698