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

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

Issue 2477883002: [Web Payments] Mojom namespace blink -> payments (Closed)
Patch Set: Fix WebKit tests Created 4 years, 1 month 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/PaymentRequest.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
index 3c8aedd563e45f809f90c407e3d92bb98c6e0258..555e7b6b3743e877d61efa5a2caa0406e046d3d5 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -35,7 +35,8 @@ class ScriptState;
class MODULES_EXPORT PaymentRequest final
: public EventTargetWithInlineData,
- WTF_NON_EXPORTED_BASE(public mojom::blink::PaymentRequestClient),
+ WTF_NON_EXPORTED_BASE(
+ public payments::mojom::blink::PaymentRequestClient),
public PaymentCompleter,
public PaymentUpdater,
public ContextLifecycleObserver,
@@ -102,11 +103,12 @@ class MODULES_EXPORT PaymentRequest final
// LifecycleObserver:
void contextDestroyed() override;
- // mojom::blink::PaymentRequestClient:
- void OnShippingAddressChange(mojom::blink::PaymentAddressPtr) override;
+ // payments::mojom::blink::PaymentRequestClient:
+ void OnShippingAddressChange(
+ payments::mojom::blink::PaymentAddressPtr) override;
void OnShippingOptionChange(const String& shippingOptionId) override;
- void OnPaymentResponse(mojom::blink::PaymentResponsePtr) override;
- void OnError(mojom::blink::PaymentErrorReason) override;
+ void OnPaymentResponse(payments::mojom::blink::PaymentResponsePtr) override;
+ void OnError(payments::mojom::blink::PaymentErrorReason) override;
void OnComplete() override;
void OnAbort(bool abortedSuccessfully) override;
@@ -122,8 +124,8 @@ class MODULES_EXPORT PaymentRequest final
Member<ScriptPromiseResolver> m_showResolver;
Member<ScriptPromiseResolver> m_completeResolver;
Member<ScriptPromiseResolver> m_abortResolver;
- mojom::blink::PaymentRequestPtr m_paymentProvider;
- mojo::Binding<mojom::blink::PaymentRequestClient> m_clientBinding;
+ payments::mojom::blink::PaymentRequestPtr m_paymentProvider;
+ mojo::Binding<payments::mojom::blink::PaymentRequestClient> m_clientBinding;
Timer<PaymentRequest> m_completeTimer;
};

Powered by Google App Engine
This is Rietveld 408576698