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

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

Issue 297103002: Move modules-dependent Event code out of core. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments. Created 6 years, 6 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 #ifndef FetchEvent_h 5 #ifndef FetchEvent_h
6 #define FetchEvent_h 6 #define FetchEvent_h
7 7
8 #include "core/events/Event.h" 8 #include "modules/EventModules.h"
9 #include "modules/serviceworkers/RespondWithObserver.h" 9 #include "modules/serviceworkers/RespondWithObserver.h"
10 10
11 namespace WebCore { 11 namespace WebCore {
12 12
13 class ExecutionContext; 13 class ExecutionContext;
14 class RespondWithObserver; 14 class RespondWithObserver;
15 15
16 // A fetch event is dispatched by the client to a service worker's script 16 // A fetch event is dispatched by the client to a service worker's script
17 // context. RespondWithObserver can be used to notify the client about the 17 // context. RespondWithObserver can be used to notify the client about the
18 // service worker's response. 18 // service worker's response.
(...skipping 13 matching lines...) Expand all
32 FetchEvent(); 32 FetchEvent();
33 explicit FetchEvent(PassRefPtr<RespondWithObserver>); 33 explicit FetchEvent(PassRefPtr<RespondWithObserver>);
34 34
35 private: 35 private:
36 RefPtr<RespondWithObserver> m_observer; 36 RefPtr<RespondWithObserver> m_observer;
37 }; 37 };
38 38
39 } // namespace WebCore 39 } // namespace WebCore
40 40
41 #endif // FetchEvent_h 41 #endif // FetchEvent_h
OLDNEW
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationController.cpp ('k') | Source/modules/serviceworkers/InstallPhaseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698