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

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

Issue 2054823002: PaymentRequest: complete() method should take PaymentComplete enum value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 e137860ee057e625f9d1355111648c6a1aaae267..82a43dbeb59a8f3d5fb09958f9bccb2939a08057 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -64,7 +64,7 @@ public:
ExecutionContext* getExecutionContext() const override;
// PaymentCompleter:
- ScriptPromise complete(ScriptState*, bool success) override;
+ ScriptPromise complete(ScriptState*, const PaymentComplete result) override;
// PaymentUpdater:
void onUpdatePaymentDetails(const ScriptValue& detailsScriptValue) override;

Powered by Google App Engine
This is Rietveld 408576698