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

Side by Side Diff: Source/modules/serviceworkers/FetchEvent.cpp

Issue 210133002: Remove the include "core/events/ThreadLocalEventNames.h" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h" 5 #include "config.h"
6 #include "FetchEvent.h" 6 #include "FetchEvent.h"
7 7
8 #include "core/events/ThreadLocalEventNames.h"
9 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" 8 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h"
10 #include "wtf/RefPtr.h" 9 #include "wtf/RefPtr.h"
11 10
12 namespace WebCore { 11 namespace WebCore {
13 12
14 PassRefPtr<FetchEvent> FetchEvent::create() 13 PassRefPtr<FetchEvent> FetchEvent::create()
15 { 14 {
16 return adoptRef(new FetchEvent()); 15 return adoptRef(new FetchEvent());
17 } 16 }
18 17
(...skipping 18 matching lines...) Expand all
37 } 36 }
38 37
39 FetchEvent::FetchEvent(PassRefPtr<RespondWithObserver> observer) 38 FetchEvent::FetchEvent(PassRefPtr<RespondWithObserver> observer)
40 : Event(EventTypeNames::fetch, /*canBubble=*/false, /*cancelable=*/true) 39 : Event(EventTypeNames::fetch, /*canBubble=*/false, /*cancelable=*/true)
41 , m_observer(observer) 40 , m_observer(observer)
42 { 41 {
43 ScriptWrappable::init(this); 42 ScriptWrappable::init(this);
44 } 43 }
45 44
46 } // namespace WebCore 45 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCIceCandidateEvent.cpp ('k') | Source/modules/serviceworkers/InstallEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698