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..70e5c80fe078449e1da0b181ac6124047c2e8015 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*, PaymentComplete result) = 0; |
protected: |
virtual ~PaymentCompleter() {} |