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 PaymentUpdater_h |
| 6 #define PaymentUpdater_h |
| 7 |
| 8 #include "modules/ModulesExport.h" |
| 9 #include "platform/heap/GarbageCollected.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class ScriptPromise; |
| 14 |
| 15 class MODULES_EXPORT PaymentUpdater : public GarbageCollectedMixin { |
| 16 public: |
| 17 virtual void onUpdatePaymentDetails(const ScriptValue& detailsScriptValue) =
0; |
| 18 virtual void onUpdatePaymentDetailsFailure(const ScriptValue& error) = 0; |
| 19 |
| 20 protected: |
| 21 virtual ~PaymentUpdater() {} |
| 22 }; |
| 23 |
| 24 } // namespace blink |
| 25 |
| 26 #endif // PaymentUpdater_h |
OLD | NEW |