| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SyncManager_h | 5 #ifndef SyncManager_h |
| 6 #define SyncManager_h | 6 #define SyncManager_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "public/platform/modules/background_sync/background_sync.mojom-blink.h" | 10 #include "public/platform/modules/background_sync/background_sync.mojom-blink.h" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ExecutionContext; | |
| 16 class ScriptPromise; | 15 class ScriptPromise; |
| 17 class ScriptPromiseResolver; | 16 class ScriptPromiseResolver; |
| 18 class ScriptState; | 17 class ScriptState; |
| 19 class ServiceWorkerRegistration; | 18 class ServiceWorkerRegistration; |
| 20 | 19 |
| 21 class SyncManager final : public GarbageCollectedFinalized<SyncManager>, | 20 class SyncManager final : public GarbageCollectedFinalized<SyncManager>, |
| 22 public ScriptWrappable { | 21 public ScriptWrappable { |
| 23 DEFINE_WRAPPERTYPEINFO(); | 22 DEFINE_WRAPPERTYPEINFO(); |
| 24 | 23 |
| 25 public: | 24 public: |
| (...skipping 25 matching lines...) Expand all Loading... |
| 51 mojom::blink::BackgroundSyncError, | 50 mojom::blink::BackgroundSyncError, |
| 52 WTF::Vector<mojom::blink::SyncRegistrationPtr> registrations); | 51 WTF::Vector<mojom::blink::SyncRegistrationPtr> registrations); |
| 53 | 52 |
| 54 Member<ServiceWorkerRegistration> m_registration; | 53 Member<ServiceWorkerRegistration> m_registration; |
| 55 mojom::blink::BackgroundSyncServicePtr m_backgroundSyncService; | 54 mojom::blink::BackgroundSyncServicePtr m_backgroundSyncService; |
| 56 }; | 55 }; |
| 57 | 56 |
| 58 } // namespace blink | 57 } // namespace blink |
| 59 | 58 |
| 60 #endif // SyncManager_h | 59 #endif // SyncManager_h |
| OLD | NEW |