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

Unified Diff: third_party/WebKit/Source/modules/payments/AbortTest.cpp

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/AbortTest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/AbortTest.cpp b/third_party/WebKit/Source/modules/payments/AbortTest.cpp
index 08b37bde1cf26cbaa8ed2db84e8032909454ed49..532450ef03df97143bee28e6d1b569cfce0a2e71 100644
--- a/third_party/WebKit/Source/modules/payments/AbortTest.cpp
+++ b/third_party/WebKit/Source/modules/payments/AbortTest.cpp
@@ -71,7 +71,8 @@ TEST(AbortTest, FailedAbortShouldRejectAbortPromise) {
request->abort(scope.getScriptState())
.then(funcs.expectNoCall(), funcs.expectCall());
- static_cast<mojom::blink::PaymentRequestClient*>(request)->OnAbort(false);
+ static_cast<payments::mojom::blink::PaymentRequestClient*>(request)->OnAbort(
+ false);
}
// After the browser is unable to abort the payment once, the second abort()
@@ -85,7 +86,8 @@ TEST(AbortTest, CanAbortAgainAfterFirstAbortRejected) {
buildPaymentDetailsForTest(), scope.getExceptionState());
request->show(scope.getScriptState());
request->abort(scope.getScriptState());
- static_cast<mojom::blink::PaymentRequestClient*>(request)->OnAbort(false);
+ static_cast<payments::mojom::blink::PaymentRequestClient*>(request)->OnAbort(
+ false);
request->abort(scope.getScriptState())
.then(funcs.expectNoCall(), funcs.expectNoCall());
@@ -106,7 +108,8 @@ TEST(AbortTest, SuccessfulAbortShouldRejectShowPromiseAndResolveAbortPromise) {
request->abort(scope.getScriptState())
.then(funcs.expectCall(), funcs.expectNoCall());
- static_cast<mojom::blink::PaymentRequestClient*>(request)->OnAbort(true);
+ static_cast<payments::mojom::blink::PaymentRequestClient*>(request)->OnAbort(
+ true);
}
} // namespace
« no previous file with comments | « content/public/app/mojo/content_browser_manifest.json ('k') | third_party/WebKit/Source/modules/payments/CompleteTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698