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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.cpp

Issue 2856173004: Clean up bindings/core/v8 (Part 5) (Closed)
Patch Set: Fix build Created 3 years, 7 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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698