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

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

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

Powered by Google App Engine
This is Rietveld 408576698