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

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

Issue 1902263004: Mojo: Change the blink variant from "wtf" to "blink". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/PaymentRequest.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
index fcf72aa042da03bbb108aff4390325e69deb401e..6641cc63ebd3c6fd533c0120d9bd1bbc9eb0ef98 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -16,7 +16,7 @@
#include "modules/payments/PaymentOptions.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "platform/heap/Handle.h"
-#include "public/platform/modules/payments/payment_request.mojom-wtf.h"
+#include "public/platform/modules/payments/payment_request.mojom-blink.h"
#include "wtf/Compiler.h"
#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
@@ -30,7 +30,7 @@ class ScriptPromiseResolver;
class ScriptState;
class ShippingAddress;
-class MODULES_EXPORT PaymentRequest final : public EventTargetWithInlineData, WTF_NON_EXPORTED_BASE(public mojom::wtf::PaymentRequestClient), public PaymentCompleter, public ContextLifecycleObserver {
+class MODULES_EXPORT PaymentRequest final : public EventTargetWithInlineData, WTF_NON_EXPORTED_BASE(public mojom::blink::PaymentRequestClient), public PaymentCompleter, public ContextLifecycleObserver {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(PaymentRequest)
WTF_MAKE_NONCOPYABLE(PaymentRequest);
@@ -66,10 +66,10 @@ private:
// LifecycleObserver:
void contextDestroyed() override;
- // mojom::wtf::PaymentRequestClient:
- void OnShippingAddressChange(mojom::wtf::ShippingAddressPtr) override;
+ // mojom::blink::PaymentRequestClient:
+ void OnShippingAddressChange(mojom::blink::ShippingAddressPtr) override;
void OnShippingOptionChange(const String& shippingOptionId) override;
- void OnPaymentResponse(mojom::wtf::PaymentResponsePtr) override;
+ void OnPaymentResponse(mojom::blink::PaymentResponsePtr) override;
void OnError() override;
void OnComplete() override;
@@ -84,8 +84,8 @@ private:
String m_shippingOption;
Member<ScriptPromiseResolver> m_showResolver;
Member<ScriptPromiseResolver> m_completeResolver;
- mojom::wtf::PaymentRequestPtr m_paymentProvider;
- mojo::Binding<mojom::wtf::PaymentRequestClient> m_clientBinding;
+ mojom::blink::PaymentRequestPtr m_paymentProvider;
+ mojo::Binding<mojom::blink::PaymentRequestClient> m_clientBinding;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/BUILD.gn ('k') | third_party/WebKit/Source/modules/payments/PaymentRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698