| Index: Source/modules/background_sync/SyncCallbacks.h
|
| diff --git a/Source/modules/background_sync/SyncCallbacks.h b/Source/modules/background_sync/SyncCallbacks.h
|
| index 23a5bbcaaa9d89d98bbb311585b5e3887567100e..54837013b618754514676cbc486eef3b5d4c08b9 100644
|
| --- a/Source/modules/background_sync/SyncCallbacks.h
|
| +++ b/Source/modules/background_sync/SyncCallbacks.h
|
| @@ -27,6 +27,9 @@ class WebString;
|
| // will pass it to the SyncRegistration.
|
| class SyncRegistrationCallbacks final : public WebSyncRegistrationCallbacks {
|
| WTF_MAKE_NONCOPYABLE(SyncRegistrationCallbacks);
|
| + // FIXME(tasak): when making public/platform classes to use PartitionAlloc,
|
| + // the following macro should be moved to WebCallbacks defined in public/platformWebCallbacks.h.
|
| + WTF_MAKE_FAST_ALLOCATED(SyncRegistrationCallbacks);
|
| public:
|
| SyncRegistrationCallbacks(ScriptPromiseResolver*, ServiceWorkerRegistration*);
|
| ~SyncRegistrationCallbacks() override;
|
| @@ -46,6 +49,9 @@ private:
|
| // SyncProvider.
|
| class SyncNotifyWhenDoneCallbacks final : public WebSyncNotifyWhenDoneCallbacks {
|
| WTF_MAKE_NONCOPYABLE(SyncNotifyWhenDoneCallbacks);
|
| + // FIXME(tasak): when making public/platform classes to use PartitionAlloc,
|
| + // the following macro should be moved to WebCallbacks defined in public/platformWebCallbacks.h.
|
| + WTF_MAKE_FAST_ALLOCATED(SyncNotifyWhenDoneCallbacks);
|
| public:
|
| SyncNotifyWhenDoneCallbacks(ScriptPromiseResolver*, ServiceWorkerRegistration*);
|
| ~SyncNotifyWhenDoneCallbacks() override;
|
| @@ -65,6 +71,9 @@ private:
|
| // SyncProvider.
|
| class SyncUnregistrationCallbacks final : public WebSyncUnregistrationCallbacks {
|
| WTF_MAKE_NONCOPYABLE(SyncUnregistrationCallbacks);
|
| + // FIXME(tasak): when making public/platform classes to use PartitionAlloc,
|
| + // the following macro should be moved to WebCallbacks defined in public/platformWebCallbacks.h.
|
| + WTF_MAKE_FAST_ALLOCATED(SyncUnregistrationCallbacks);
|
| public:
|
| SyncUnregistrationCallbacks(ScriptPromiseResolver*, ServiceWorkerRegistration*);
|
| ~SyncUnregistrationCallbacks() override;
|
| @@ -83,6 +92,9 @@ private:
|
| // will pass it to the SyncRegistration.
|
| class SyncGetRegistrationsCallbacks final : public WebSyncGetRegistrationsCallbacks {
|
| WTF_MAKE_NONCOPYABLE(SyncGetRegistrationsCallbacks);
|
| + // FIXME(tasak): when making public/platform classes to use PartitionAlloc,
|
| + // the following macro should be moved to WebCallbacks defined in public/platformWebCallbacks.h.
|
| + WTF_MAKE_FAST_ALLOCATED(SyncGetRegistrationsCallbacks);
|
| public:
|
| SyncGetRegistrationsCallbacks(ScriptPromiseResolver*, ServiceWorkerRegistration*);
|
| ~SyncGetRegistrationsCallbacks() override;
|
| @@ -100,6 +112,7 @@ private:
|
| // depending on the permission status passed to the callback.
|
| class SyncGetPermissionStatusCallbacks final : public WebSyncGetPermissionStatusCallbacks {
|
| WTF_MAKE_NONCOPYABLE(SyncGetPermissionStatusCallbacks);
|
| + WTF_MAKE_FAST_ALLOCATED(SyncGetPermissionStatusCallbacks);
|
| public:
|
| SyncGetPermissionStatusCallbacks(ScriptPromiseResolver*, ServiceWorkerRegistration*);
|
| ~SyncGetPermissionStatusCallbacks() override;
|
|
|