| 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 "platform/wtf/text/WTFString.h" |
| 10 #include "public/platform/modules/background_sync/background_sync.mojom-blink.h" | 11 #include "public/platform/modules/background_sync/background_sync.mojom-blink.h" |
| 11 #include "wtf/text/WTFString.h" | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ScriptPromise; | 15 class ScriptPromise; |
| 16 class ScriptPromiseResolver; | 16 class ScriptPromiseResolver; |
| 17 class ScriptState; | 17 class ScriptState; |
| 18 class ServiceWorkerRegistration; | 18 class ServiceWorkerRegistration; |
| 19 | 19 |
| 20 class SyncManager final : public GarbageCollectedFinalized<SyncManager>, | 20 class SyncManager final : public GarbageCollectedFinalized<SyncManager>, |
| 21 public ScriptWrappable { | 21 public ScriptWrappable { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 50 mojom::blink::BackgroundSyncError, | 50 mojom::blink::BackgroundSyncError, |
| 51 WTF::Vector<mojom::blink::SyncRegistrationPtr> registrations); | 51 WTF::Vector<mojom::blink::SyncRegistrationPtr> registrations); |
| 52 | 52 |
| 53 Member<ServiceWorkerRegistration> registration_; | 53 Member<ServiceWorkerRegistration> registration_; |
| 54 mojom::blink::BackgroundSyncServicePtr background_sync_service_; | 54 mojom::blink::BackgroundSyncServicePtr background_sync_service_; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace blink | 57 } // namespace blink |
| 58 | 58 |
| 59 #endif // SyncManager_h | 59 #endif // SyncManager_h |
| OLD | NEW |