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

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: rebase 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 c150a99ce10fb17b32ebef7e3c1872e525a142d9..eaedaf25c808ad12edfec8e85aa92047b9e8b81d 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*, PaymentComplete result) override;
// PaymentUpdater:
void onUpdatePaymentDetails(const ScriptValue& detailsScriptValue) override;

Powered by Google App Engine
This is Rietveld 408576698