| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/ForeignFetchEvent.h" | 5 #include "modules/serviceworkers/ForeignFetchEvent.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ToV8ForCore.h" | 7 #include "bindings/core/v8/ToV8ForCore.h" |
| 8 #include "bindings/core/v8/V8PrivateProperty.h" | |
| 9 #include "modules/fetch/Request.h" | 8 #include "modules/fetch/Request.h" |
| 10 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" | 9 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" |
| 10 #include "platform/bindings/V8PrivateProperty.h" |
| 11 #include "platform/wtf/RefPtr.h" | 11 #include "platform/wtf/RefPtr.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 ForeignFetchEvent* ForeignFetchEvent::Create( | 15 ForeignFetchEvent* ForeignFetchEvent::Create( |
| 16 ScriptState* script_state, | 16 ScriptState* script_state, |
| 17 const AtomicString& type, | 17 const AtomicString& type, |
| 18 const ForeignFetchEventInit& initializer) { | 18 const ForeignFetchEventInit& initializer) { |
| 19 return new ForeignFetchEvent(script_state, type, initializer, nullptr, | 19 return new ForeignFetchEvent(script_state, type, initializer, nullptr, |
| 20 nullptr); | 20 nullptr); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 | 86 |
| 87 DEFINE_TRACE(ForeignFetchEvent) { | 87 DEFINE_TRACE(ForeignFetchEvent) { |
| 88 visitor->Trace(observer_); | 88 visitor->Trace(observer_); |
| 89 visitor->Trace(request_); | 89 visitor->Trace(request_); |
| 90 ExtendableEvent::Trace(visitor); | 90 ExtendableEvent::Trace(visitor); |
| 91 } | 91 } |
| 92 | 92 |
| 93 } // namespace blink | 93 } // namespace blink |
| OLD | NEW |