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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/InstallEvent.h

Issue 1864243004: Remove RawPtr from Source/modules Part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 InstallEvent_h 5 #ifndef InstallEvent_h
6 #define InstallEvent_h 6 #define InstallEvent_h
7 7
8 #include "modules/EventModules.h" 8 #include "modules/EventModules.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "modules/serviceworkers/ExtendableEvent.h" 10 #include "modules/serviceworkers/ExtendableEvent.h"
11 #include "modules/serviceworkers/ForeignFetchOptions.h" 11 #include "modules/serviceworkers/ForeignFetchOptions.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class USVStringOrUSVStringSequence; 15 class USVStringOrUSVStringSequence;
16 16
17 class MODULES_EXPORT InstallEvent : public ExtendableEvent { 17 class MODULES_EXPORT InstallEvent : public ExtendableEvent {
18 DEFINE_WRAPPERTYPEINFO(); 18 DEFINE_WRAPPERTYPEINFO();
19 19
20 public: 20 public:
21 static RawPtr<InstallEvent> create(); 21 static InstallEvent* create();
22 static RawPtr<InstallEvent> create(const AtomicString& type, const Extendabl eEventInit&); 22 static InstallEvent* create(const AtomicString& type, const ExtendableEventI nit&);
23 static RawPtr<InstallEvent> create(const AtomicString& type, const Extendabl eEventInit&, WaitUntilObserver*); 23 static InstallEvent* create(const AtomicString& type, const ExtendableEventI nit&, WaitUntilObserver*);
24 24
25 ~InstallEvent() override; 25 ~InstallEvent() override;
26 26
27 void registerForeignFetch(ExecutionContext*, const ForeignFetchOptions&, Exc eptionState&); 27 void registerForeignFetch(ExecutionContext*, const ForeignFetchOptions&, Exc eptionState&);
28 28
29 const AtomicString& interfaceName() const override; 29 const AtomicString& interfaceName() const override;
30 30
31 protected: 31 protected:
32 InstallEvent(); 32 InstallEvent();
33 InstallEvent(const AtomicString& type, const ExtendableEventInit&); 33 InstallEvent(const AtomicString& type, const ExtendableEventInit&);
34 InstallEvent(const AtomicString& type, const ExtendableEventInit&, WaitUntil Observer*); 34 InstallEvent(const AtomicString& type, const ExtendableEventInit&, WaitUntil Observer*);
35 }; 35 };
36 36
37 } // namespace blink 37 } // namespace blink
38 38
39 #endif // InstallEvent_h 39 #endif // InstallEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698