| OLD | NEW |
| 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 #include "modules/serviceworkers/InstallEvent.h" | 5 #include "modules/serviceworkers/InstallEvent.h" |
| 6 | 6 |
| 7 #include "bindings/modules/v8/UnionTypesModules.h" | 7 #include "bindings/modules/v8/UnionTypesModules.h" |
| 8 #include "core/dom/ExceptionCode.h" | 8 #include "core/dom/ExceptionCode.h" |
| 9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" | 9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
| 10 #include "public/platform/WebSecurityOrigin.h" | 10 #include "public/platform/WebSecurityOrigin.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 RawPtr<InstallEvent> InstallEvent::create() | 14 InstallEvent* InstallEvent::create() |
| 15 { | 15 { |
| 16 return new InstallEvent(); | 16 return new InstallEvent(); |
| 17 } | 17 } |
| 18 | 18 |
| 19 RawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const Extend
ableEventInit& eventInit) | 19 InstallEvent* InstallEvent::create(const AtomicString& type, const ExtendableEve
ntInit& eventInit) |
| 20 { | 20 { |
| 21 return new InstallEvent(type, eventInit); | 21 return new InstallEvent(type, eventInit); |
| 22 } | 22 } |
| 23 | 23 |
| 24 RawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const Extend
ableEventInit& eventInit, WaitUntilObserver* observer) | 24 InstallEvent* InstallEvent::create(const AtomicString& type, const ExtendableEve
ntInit& eventInit, WaitUntilObserver* observer) |
| 25 { | 25 { |
| 26 return new InstallEvent(type, eventInit, observer); | 26 return new InstallEvent(type, eventInit, observer); |
| 27 } | 27 } |
| 28 | 28 |
| 29 InstallEvent::~InstallEvent() | 29 InstallEvent::~InstallEvent() |
| 30 { | 30 { |
| 31 } | 31 } |
| 32 | 32 |
| 33 void InstallEvent::registerForeignFetch(ExecutionContext* executionContext, cons
t ForeignFetchOptions& options, ExceptionState& exceptionState) | 33 void InstallEvent::registerForeignFetch(ExecutionContext* executionContext, cons
t ForeignFetchOptions& options, ExceptionState& exceptionState) |
| 34 { | 34 { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 : ExtendableEvent(type, initializer) | 104 : ExtendableEvent(type, initializer) |
| 105 { | 105 { |
| 106 } | 106 } |
| 107 | 107 |
| 108 InstallEvent::InstallEvent(const AtomicString& type, const ExtendableEventInit&
initializer, WaitUntilObserver* observer) | 108 InstallEvent::InstallEvent(const AtomicString& type, const ExtendableEventInit&
initializer, WaitUntilObserver* observer) |
| 109 : ExtendableEvent(type, initializer, observer) | 109 : ExtendableEvent(type, initializer, observer) |
| 110 { | 110 { |
| 111 } | 111 } |
| 112 | 112 |
| 113 } // namespace blink | 113 } // namespace blink |
| OLD | NEW |