Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: Source/modules/background_sync/PeriodicSyncEvent.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 PeriodicSyncEvent_h 5 #ifndef PeriodicSyncEvent_h
6 #define PeriodicSyncEvent_h 6 #define PeriodicSyncEvent_h
7 7
8 #include "modules/EventModules.h" 8 #include "modules/EventModules.h"
9 #include "modules/serviceworkers/ExtendableEvent.h" 9 #include "modules/serviceworkers/ExtendableEvent.h"
10 #include "wtf/text/AtomicString.h" 10 #include "wtf/text/AtomicString.h"
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 static PassRefPtrWillBeRawPtr<PeriodicSyncEvent> create(const AtomicString& type, PeriodicSyncRegistration* syncRegistration, WaitUntilObserver* observer) 24 static PassRefPtrWillBeRawPtr<PeriodicSyncEvent> create(const AtomicString& type, PeriodicSyncRegistration* syncRegistration, WaitUntilObserver* observer)
25 { 25 {
26 return adoptRefWillBeNoop(new PeriodicSyncEvent(type, syncRegistration, observer)); 26 return adoptRefWillBeNoop(new PeriodicSyncEvent(type, syncRegistration, observer));
27 } 27 }
28 static PassRefPtrWillBeRawPtr<PeriodicSyncEvent> create(const AtomicString& type, const PeriodicSyncEventInit& init) 28 static PassRefPtrWillBeRawPtr<PeriodicSyncEvent> create(const AtomicString& type, const PeriodicSyncEventInit& init)
29 { 29 {
30 return adoptRefWillBeNoop(new PeriodicSyncEvent(type, init)); 30 return adoptRefWillBeNoop(new PeriodicSyncEvent(type, init));
31 } 31 }
32 32
33 virtual ~PeriodicSyncEvent(); 33 ~PeriodicSyncEvent() override;
34 34
35 virtual const AtomicString& interfaceName() const override; 35 const AtomicString& interfaceName() const override;
36 36
37 PeriodicSyncRegistration* registration(); 37 PeriodicSyncRegistration* registration();
38 38
39 DECLARE_VIRTUAL_TRACE(); 39 DECLARE_VIRTUAL_TRACE();
40 40
41 private: 41 private:
42 PeriodicSyncEvent(); 42 PeriodicSyncEvent();
43 PeriodicSyncEvent(const AtomicString& type, PeriodicSyncRegistration*, WaitU ntilObserver*); 43 PeriodicSyncEvent(const AtomicString& type, PeriodicSyncRegistration*, WaitU ntilObserver*);
44 PeriodicSyncEvent(const AtomicString& type, const PeriodicSyncEventInit&); 44 PeriodicSyncEvent(const AtomicString& type, const PeriodicSyncEventInit&);
45 45
46 PersistentWillBeMember<PeriodicSyncRegistration> m_periodicRegistration; 46 PersistentWillBeMember<PeriodicSyncRegistration> m_periodicRegistration;
47 }; 47 };
48 48
49 } // namespace blink 49 } // namespace blink
50 50
51 #endif // PeriodicSyncEvent_h 51 #endif // PeriodicSyncEvent_h
OLDNEW
« no previous file with comments | « Source/modules/app_banner/BeforeInstallPromptEvent.h ('k') | Source/modules/background_sync/SyncEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698