| 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 #include "modules/background_sync/SyncEvent.h" | 5 #include "modules/background_sync/SyncEvent.h" |
| 6 | 6 |
| 7 namespace blink { | 7 namespace blink { |
| 8 | 8 |
| 9 SyncEvent::SyncEvent() | |
| 10 { | |
| 11 } | |
| 12 | |
| 13 SyncEvent::SyncEvent(const AtomicString& type, const String& tag, bool lastChanc
e, WaitUntilObserver* observer) | 9 SyncEvent::SyncEvent(const AtomicString& type, const String& tag, bool lastChanc
e, WaitUntilObserver* observer) |
| 14 : ExtendableEvent(type, ExtendableEventInit(), observer) | 10 : ExtendableEvent(type, ExtendableEventInit(), observer) |
| 15 , m_tag(tag) | 11 , m_tag(tag) |
| 16 , m_lastChance(lastChance) | 12 , m_lastChance(lastChance) |
| 17 { | 13 { |
| 18 } | 14 } |
| 19 | 15 |
| 20 SyncEvent::SyncEvent(const AtomicString& type, const SyncEventInit& init) | 16 SyncEvent::SyncEvent(const AtomicString& type, const SyncEventInit& init) |
| 21 : ExtendableEvent(type, init) | 17 : ExtendableEvent(type, init) |
| 22 { | 18 { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 42 { | 38 { |
| 43 return m_lastChance; | 39 return m_lastChance; |
| 44 } | 40 } |
| 45 | 41 |
| 46 DEFINE_TRACE(SyncEvent) | 42 DEFINE_TRACE(SyncEvent) |
| 47 { | 43 { |
| 48 ExtendableEvent::trace(visitor); | 44 ExtendableEvent::trace(visitor); |
| 49 } | 45 } |
| 50 | 46 |
| 51 } // namespace blink | 47 } // namespace blink |
| OLD | NEW |