| Index: Source/modules/background_sync/ServiceWorkerRegistrationSync.h
|
| diff --git a/Source/modules/background_sync/ServiceWorkerRegistrationSync.h b/Source/modules/background_sync/ServiceWorkerRegistrationSync.h
|
| index 9ddc5043acdce82501c3cc7bb32a833b2452480e..14f1723583430fe3194fc212557f0502379b9f12 100644
|
| --- a/Source/modules/background_sync/ServiceWorkerRegistrationSync.h
|
| +++ b/Source/modules/background_sync/ServiceWorkerRegistrationSync.h
|
| @@ -11,6 +11,7 @@
|
| namespace blink {
|
|
|
| class SyncManager;
|
| +class PeriodicSyncManager;
|
| class ServiceWorkerRegistration;
|
|
|
| class ServiceWorkerRegistrationSync final : public GarbageCollectedFinalized<ServiceWorkerRegistrationSync>, public HeapSupplement<ServiceWorkerRegistration> {
|
| @@ -20,8 +21,10 @@ public:
|
| virtual ~ServiceWorkerRegistrationSync();
|
| static ServiceWorkerRegistrationSync& from(ServiceWorkerRegistration&);
|
|
|
| - static SyncManager* syncManager(ServiceWorkerRegistration&);
|
| - SyncManager* syncManager();
|
| + static SyncManager* sync(ServiceWorkerRegistration&);
|
| + static PeriodicSyncManager* periodicSync(ServiceWorkerRegistration&);
|
| + SyncManager* sync();
|
| + PeriodicSyncManager* periodicSync();
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -31,6 +34,7 @@ private:
|
|
|
| Member<ServiceWorkerRegistration> m_registration;
|
| Member<SyncManager> m_syncManager;
|
| + Member<PeriodicSyncManager> m_periodicSyncManager;
|
| };
|
|
|
| } // namespace blink
|
|
|