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

Unified Diff: Source/modules/serviceworkers/ExtendableEvent.h

Issue 588383002: Service Workers: InstallPhaseEvent -> ExtendableEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/serviceworkers/ExtendableEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ExtendableEvent.h
diff --git a/Source/modules/serviceworkers/InstallPhaseEvent.h b/Source/modules/serviceworkers/ExtendableEvent.h
similarity index 81%
rename from Source/modules/serviceworkers/InstallPhaseEvent.h
rename to Source/modules/serviceworkers/ExtendableEvent.h
index 702e7b2a6a33edf621f275ac492ef9ba4ed5a344..2c3eab368d86bd3d9b9ded2d90b22b236bf7536f 100644
--- a/Source/modules/serviceworkers/InstallPhaseEvent.h
+++ b/Source/modules/serviceworkers/ExtendableEvent.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef InstallPhaseEvent_h
-#define InstallPhaseEvent_h
+#ifndef ExtendableEvent_h
+#define ExtendableEvent_h
#include "bindings/core/v8/ScriptValue.h"
#include "modules/EventModules.h"
@@ -38,13 +38,13 @@ namespace blink {
class WaitUntilObserver;
-class InstallPhaseEvent : public Event {
+class ExtendableEvent : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<InstallPhaseEvent> create();
- static PassRefPtrWillBeRawPtr<InstallPhaseEvent> create(const AtomicString& type, const EventInit&, WaitUntilObserver*);
+ static PassRefPtrWillBeRawPtr<ExtendableEvent> create();
+ static PassRefPtrWillBeRawPtr<ExtendableEvent> create(const AtomicString& type, const EventInit&, WaitUntilObserver*);
- virtual ~InstallPhaseEvent();
+ virtual ~ExtendableEvent();
void waitUntil(ScriptState*, const ScriptValue&);
@@ -52,12 +52,12 @@ public:
virtual void trace(Visitor*) OVERRIDE;
protected:
- InstallPhaseEvent();
- InstallPhaseEvent(const AtomicString& type, const EventInit&, WaitUntilObserver*);
+ ExtendableEvent();
+ ExtendableEvent(const AtomicString& type, const EventInit&, WaitUntilObserver*);
PersistentWillBeMember<WaitUntilObserver> m_observer;
};
} // namespace blink
-#endif // InstallPhaseEvent_h
+#endif // ExtendableEvent_h
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/serviceworkers/ExtendableEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698