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

Side by Side Diff: Source/modules/background_sync/SyncEvent.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 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/background_sync/SyncRegistration.h" 10 #include "modules/background_sync/SyncRegistration.h"
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, Sy ncRegistration* syncRegistration, WaitUntilObserver* observer) 25 static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, Sy ncRegistration* syncRegistration, WaitUntilObserver* observer)
26 { 26 {
27 return adoptRefWillBeNoop(new SyncEvent(type, syncRegistration, observer )); 27 return adoptRefWillBeNoop(new SyncEvent(type, syncRegistration, observer ));
28 } 28 }
29 static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, co nst SyncEventInit& init) 29 static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, co nst SyncEventInit& init)
30 { 30 {
31 return adoptRefWillBeNoop(new SyncEvent(type, init)); 31 return adoptRefWillBeNoop(new SyncEvent(type, init));
32 } 32 }
33 33
34 virtual ~SyncEvent(); 34 ~SyncEvent() override;
35 35
36 virtual const AtomicString& interfaceName() const override; 36 const AtomicString& interfaceName() const override;
37 37
38 SyncRegistration* registration(); 38 SyncRegistration* registration();
39 39
40 DECLARE_VIRTUAL_TRACE(); 40 DECLARE_VIRTUAL_TRACE();
41 41
42 private: 42 private:
43 SyncEvent(); 43 SyncEvent();
44 SyncEvent(const AtomicString& type, SyncRegistration*, WaitUntilObserver*); 44 SyncEvent(const AtomicString& type, SyncRegistration*, WaitUntilObserver*);
45 SyncEvent(const AtomicString& type, const SyncEventInit&); 45 SyncEvent(const AtomicString& type, const SyncEventInit&);
46 46
47 PersistentWillBeMember<SyncRegistration> m_syncRegistration; 47 PersistentWillBeMember<SyncRegistration> m_syncRegistration;
48 }; 48 };
49 49
50 } // namespace blink 50 } // namespace blink
51 51
52 #endif // SyncEvent_h 52 #endif // SyncEvent_h
OLDNEW
« no previous file with comments | « Source/modules/background_sync/PeriodicSyncEvent.h ('k') | Source/modules/battery/BatteryDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698