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

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

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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;
16
17 class MODULES_EXPORT InstallEvent : public ExtendableEvent { 15 class MODULES_EXPORT InstallEvent : public ExtendableEvent {
18 DEFINE_WRAPPERTYPEINFO(); 16 DEFINE_WRAPPERTYPEINFO();
19 17
20 public: 18 public:
21 static InstallEvent* create(const AtomicString& type, 19 static InstallEvent* create(const AtomicString& type,
22 const ExtendableEventInit&); 20 const ExtendableEventInit&);
23 static InstallEvent* create(const AtomicString& type, 21 static InstallEvent* create(const AtomicString& type,
24 const ExtendableEventInit&, 22 const ExtendableEventInit&,
25 WaitUntilObserver*); 23 WaitUntilObserver*);
26 24
27 ~InstallEvent() override; 25 ~InstallEvent() override;
28 26
29 void registerForeignFetch(ExecutionContext*, 27 void registerForeignFetch(ExecutionContext*,
30 const ForeignFetchOptions&, 28 const ForeignFetchOptions&,
31 ExceptionState&); 29 ExceptionState&);
32 30
33 const AtomicString& interfaceName() const override; 31 const AtomicString& interfaceName() const override;
34 32
35 protected: 33 protected:
36 InstallEvent(const AtomicString& type, const ExtendableEventInit&); 34 InstallEvent(const AtomicString& type, const ExtendableEventInit&);
37 InstallEvent(const AtomicString& type, 35 InstallEvent(const AtomicString& type,
38 const ExtendableEventInit&, 36 const ExtendableEventInit&,
39 WaitUntilObserver*); 37 WaitUntilObserver*);
40 }; 38 };
41 39
42 } // namespace blink 40 } // namespace blink
43 41
44 #endif // InstallEvent_h 42 #endif // InstallEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698