OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PaymentCompleter_h |
| 6 #define PaymentCompleter_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "modules/ModulesExport.h" |
| 10 #include "platform/heap/GarbageCollected.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class ScriptState; |
| 15 |
| 16 class MODULES_EXPORT PaymentCompleter : public GarbageCollectedMixin { |
| 17 public: |
| 18 virtual ScriptPromise complete(ScriptState*, bool success) = 0; |
| 19 |
| 20 protected: |
| 21 virtual ~PaymentCompleter() {} |
| 22 }; |
| 23 |
| 24 } // namespace blink |
| 25 |
| 26 #endif // PaymentCompleter_h |
OLD | NEW |