| Index: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScopeProxy.h
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentUpdater.h b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScopeProxy.h
|
| similarity index 33%
|
| copy from third_party/WebKit/Source/modules/payments/PaymentUpdater.h
|
| copy to third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScopeProxy.h
|
| index 3224b3e63d15b1c0e7ca1745f079efde983b1865..8c1bca1702180ab9e122fae0d2f8f043c069ca82 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentUpdater.h
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScopeProxy.h
|
| @@ -2,26 +2,24 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef PaymentUpdater_h
|
| -#define PaymentUpdater_h
|
| +#ifndef AnimationWorkletGlobalScopeProxy_h
|
| +#define AnimationWorkletGlobalScopeProxy_h
|
|
|
| -#include "modules/ModulesExport.h"
|
| -#include "platform/heap/GarbageCollected.h"
|
| -#include "wtf/text/WTFString.h"
|
| +#include "core/workers/ThreadedWorkletMessagingProxy.h"
|
|
|
| namespace blink {
|
|
|
| -class ScriptValue;
|
| +class LocalFrame;
|
|
|
| -class MODULES_EXPORT PaymentUpdater : public GarbageCollectedMixin {
|
| +class AnimationWorkletGlobalScopeProxy : public ThreadedWorkletMessagingProxy {
|
| public:
|
| - virtual void onUpdatePaymentDetails(const ScriptValue& detailsScriptValue) = 0;
|
| - virtual void onUpdatePaymentDetailsFailure(const String& error) = 0;
|
| + explicit AnimationWorkletGlobalScopeProxy(LocalFrame*);
|
| + ~AnimationWorkletGlobalScopeProxy() override;
|
|
|
| protected:
|
| - virtual ~PaymentUpdater() {}
|
| + std::unique_ptr<WorkerThread> createWorkerThread() final;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // PaymentUpdater_h
|
| +#endif // AnimationWorkletGlobalScopeProxy_h
|
|
|