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

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

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/serviceworkers/ExtendableEvent.h ('k') | Source/modules/serviceworkers/ExtendableEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ExtendableEvent.cpp
diff --git a/Source/modules/serviceworkers/InstallPhaseEvent.cpp b/Source/modules/serviceworkers/ExtendableEvent.cpp
similarity index 70%
rename from Source/modules/serviceworkers/InstallPhaseEvent.cpp
rename to Source/modules/serviceworkers/ExtendableEvent.cpp
index d91b5774de87b1e2835916173f0270ab71aae9fc..0d4db1534c5ebbde7ed1e96cd282ff5178eed7df 100644
--- a/Source/modules/serviceworkers/InstallPhaseEvent.cpp
+++ b/Source/modules/serviceworkers/ExtendableEvent.cpp
@@ -29,48 +29,48 @@
*/
#include "config.h"
-#include "InstallPhaseEvent.h"
+#include "ExtendableEvent.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "modules/serviceworkers/WaitUntilObserver.h"
namespace blink {
-PassRefPtrWillBeRawPtr<InstallPhaseEvent> InstallPhaseEvent::create()
+PassRefPtrWillBeRawPtr<ExtendableEvent> ExtendableEvent::create()
{
- return adoptRefWillBeNoop(new InstallPhaseEvent());
+ return adoptRefWillBeNoop(new ExtendableEvent());
}
-PassRefPtrWillBeRawPtr<InstallPhaseEvent> InstallPhaseEvent::create(const AtomicString& type, const EventInit& eventInit, WaitUntilObserver* observer)
+PassRefPtrWillBeRawPtr<ExtendableEvent> ExtendableEvent::create(const AtomicString& type, const EventInit& eventInit, WaitUntilObserver* observer)
{
- return adoptRefWillBeNoop(new InstallPhaseEvent(type, eventInit, observer));
+ return adoptRefWillBeNoop(new ExtendableEvent(type, eventInit, observer));
}
-InstallPhaseEvent::~InstallPhaseEvent()
+ExtendableEvent::~ExtendableEvent()
{
}
-void InstallPhaseEvent::waitUntil(ScriptState* scriptState, const ScriptValue& value)
+void ExtendableEvent::waitUntil(ScriptState* scriptState, const ScriptValue& value)
{
m_observer->waitUntil(scriptState, value);
}
-InstallPhaseEvent::InstallPhaseEvent()
+ExtendableEvent::ExtendableEvent()
{
}
-InstallPhaseEvent::InstallPhaseEvent(const AtomicString& type, const EventInit& initializer, WaitUntilObserver* observer)
+ExtendableEvent::ExtendableEvent(const AtomicString& type, const EventInit& initializer, WaitUntilObserver* observer)
: Event(type, initializer)
, m_observer(observer)
{
}
-const AtomicString& InstallPhaseEvent::interfaceName() const
+const AtomicString& ExtendableEvent::interfaceName() const
{
- return EventNames::InstallPhaseEvent;
+ return EventNames::ExtendableEvent;
}
-void InstallPhaseEvent::trace(Visitor* visitor)
+void ExtendableEvent::trace(Visitor* visitor)
{
visitor->trace(m_observer);
Event::trace(visitor);
« no previous file with comments | « Source/modules/serviceworkers/ExtendableEvent.h ('k') | Source/modules/serviceworkers/ExtendableEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698