| 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 SyncEvent_h | 5 #ifndef SyncEvent_h |
| 6 #define SyncEvent_h | 6 #define SyncEvent_h |
| 7 | 7 |
| 8 #include "modules/EventModules.h" | 8 #include "modules/EventModules.h" |
| 9 #include "modules/background_sync/SyncEventInit.h" | 9 #include "modules/background_sync/SyncEventInit.h" |
| 10 #include "modules/serviceworkers/ExtendableEvent.h" | 10 #include "modules/serviceworkers/ExtendableEvent.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "wtf/text/AtomicString.h" | 12 #include "platform/wtf/text/AtomicString.h" |
| 13 #include "wtf/text/WTFString.h" | 13 #include "platform/wtf/text/WTFString.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class MODULES_EXPORT SyncEvent final : public ExtendableEvent { | 17 class MODULES_EXPORT SyncEvent final : public ExtendableEvent { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 | 19 |
| 20 public: | 20 public: |
| 21 static SyncEvent* Create(const AtomicString& type, | 21 static SyncEvent* Create(const AtomicString& type, |
| 22 const String& tag, | 22 const String& tag, |
| 23 bool last_chance, | 23 bool last_chance, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 42 SyncEvent(const AtomicString& type, const String&, bool, WaitUntilObserver*); | 42 SyncEvent(const AtomicString& type, const String&, bool, WaitUntilObserver*); |
| 43 SyncEvent(const AtomicString& type, const SyncEventInit&); | 43 SyncEvent(const AtomicString& type, const SyncEventInit&); |
| 44 | 44 |
| 45 String tag_; | 45 String tag_; |
| 46 bool last_chance_; | 46 bool last_chance_; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace blink | 49 } // namespace blink |
| 50 | 50 |
| 51 #endif // SyncEvent_h | 51 #endif // SyncEvent_h |
| OLD | NEW |