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

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

Issue 2059933002: hello Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hello 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/PaymentCompleter.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentCompleter.h b/third_party/WebKit/Source/modules/payments/PaymentCompleter.h
index 284d2a16d9e36bd5fd29e549b4ec85daff423cc3..52b44019229f26facc5d78df87aaab954ad01023 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentCompleter.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentCompleter.h
@@ -11,11 +11,17 @@
namespace blink {
+enum PaymentComplete {
+ Success,
+ Fail,
+ Unknown
+};
+
class ScriptState;
class MODULES_EXPORT PaymentCompleter : public GarbageCollectedMixin {
public:
- virtual ScriptPromise complete(ScriptState*, bool success) = 0;
+ virtual ScriptPromise complete(ScriptState*, const PaymentComplete result) = 0;
protected:
virtual ~PaymentCompleter() {}
« no previous file with comments | « chrome/test/data/android/payments/no_shipping.js ('k') | third_party/WebKit/Source/modules/payments/PaymentRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698