| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef InstallEvent_h |
| 6 #define InstallEvent_h |
| 7 |
| 8 #include "modules/EventModules.h" |
| 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/serviceworkers/ExtendableEvent.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class MODULES_EXPORT InstallEvent : public ExtendableEvent { |
| 15 DEFINE_WRAPPERTYPEINFO(); |
| 16 |
| 17 public: |
| 18 static PassRefPtrWillBeRawPtr<InstallEvent> create(); |
| 19 static PassRefPtrWillBeRawPtr<InstallEvent> create(const AtomicString& type,
const ExtendableEventInit&); |
| 20 static PassRefPtrWillBeRawPtr<InstallEvent> create(const AtomicString& type,
const ExtendableEventInit&, WaitUntilObserver*); |
| 21 |
| 22 ~InstallEvent() override; |
| 23 |
| 24 void registerForeignFetchScopes(ExecutionContext*, const Vector<String>& sub
Scopes, ExceptionState&); |
| 25 |
| 26 const AtomicString& interfaceName() const override; |
| 27 |
| 28 protected: |
| 29 InstallEvent(); |
| 30 InstallEvent(const AtomicString& type, const ExtendableEventInit&); |
| 31 InstallEvent(const AtomicString& type, const ExtendableEventInit&, WaitUntil
Observer*); |
| 32 }; |
| 33 |
| 34 } // namespace blink |
| 35 |
| 36 #endif // InstallEvent_h |
| OLD | NEW |