| Index: third_party/WebKit/Source/modules/background_sync/SyncEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/background_sync/SyncEvent.h b/third_party/WebKit/Source/modules/background_sync/SyncEvent.h
|
| index d5b8665da6da6046e5224310a89b12461e4c4b1e..5b969a5106362f0c59ba33e4ea2f238e746e7479 100644
|
| --- a/third_party/WebKit/Source/modules/background_sync/SyncEvent.h
|
| +++ b/third_party/WebKit/Source/modules/background_sync/SyncEvent.h
|
| @@ -22,9 +22,9 @@ public:
|
| {
|
| return adoptRefWillBeNoop(new SyncEvent);
|
| }
|
| - static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, SyncRegistration* syncRegistration, bool lastChance, WaitUntilObserver* observer)
|
| + static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, const String& tag, bool lastChance, WaitUntilObserver* observer)
|
| {
|
| - return adoptRefWillBeNoop(new SyncEvent(type, syncRegistration, lastChance, observer));
|
| + return adoptRefWillBeNoop(new SyncEvent(type, tag, lastChance, observer));
|
| }
|
| static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, const SyncEventInit& init)
|
| {
|
| @@ -35,17 +35,17 @@ public:
|
|
|
| const AtomicString& interfaceName() const override;
|
|
|
| - SyncRegistration* registration();
|
| + String tag();
|
| bool lastChance();
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| SyncEvent();
|
| - SyncEvent(const AtomicString& type, SyncRegistration*, bool, WaitUntilObserver*);
|
| + SyncEvent(const AtomicString& type, const String&, bool, WaitUntilObserver*);
|
| SyncEvent(const AtomicString& type, const SyncEventInit&);
|
|
|
| - PersistentWillBeMember<SyncRegistration> m_syncRegistration;
|
| + String m_tag;
|
| bool m_lastChance;
|
| };
|
|
|
|
|