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

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

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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 | Annotate | Revision Log
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 "modules/EventModules.h" 8 #include "modules/EventModules.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "modules/fetch/Request.h" 10 #include "modules/fetch/Request.h"
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 static PassRefPtrWillBeRawPtr<FetchEvent> create(); 28 static PassRefPtrWillBeRawPtr<FetchEvent> create();
29 static PassRefPtrWillBeRawPtr<FetchEvent> create(const AtomicString& type, c onst FetchEventInit&); 29 static PassRefPtrWillBeRawPtr<FetchEvent> create(const AtomicString& type, c onst FetchEventInit&);
30 static PassRefPtrWillBeRawPtr<FetchEvent> create(const AtomicString& type, c onst FetchEventInit&, RespondWithObserver*); 30 static PassRefPtrWillBeRawPtr<FetchEvent> create(const AtomicString& type, c onst FetchEventInit&, RespondWithObserver*);
31 31
32 Request* request() const; 32 Request* request() const;
33 bool isReload() const; 33 bool isReload() const;
34 34
35 void respondWith(ScriptState*, const ScriptValue&, ExceptionState&); 35 void respondWith(ScriptState*, const ScriptValue&, ExceptionState&);
36 36
37 virtual const AtomicString& interfaceName() const override; 37 const AtomicString& interfaceName() const override;
38 38
39 DECLARE_VIRTUAL_TRACE(); 39 DECLARE_VIRTUAL_TRACE();
40 40
41 protected: 41 protected:
42 FetchEvent(); 42 FetchEvent();
43 FetchEvent(const AtomicString& type, const FetchEventInit&, RespondWithObser ver*); 43 FetchEvent(const AtomicString& type, const FetchEventInit&, RespondWithObser ver*);
44 44
45 private: 45 private:
46 PersistentWillBeMember<RespondWithObserver> m_observer; 46 PersistentWillBeMember<RespondWithObserver> m_observer;
47 PersistentWillBeMember<Request> m_request; 47 PersistentWillBeMember<Request> m_request;
48 bool m_isReload; 48 bool m_isReload;
49 }; 49 };
50 50
51 } // namespace blink 51 } // namespace blink
52 52
53 #endif // FetchEvent_h 53 #endif // FetchEvent_h
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/ExtendableEvent.h ('k') | Source/modules/serviceworkers/NavigatorServiceWorker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698