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

Unified Diff: Source/modules/push_messaging/PushEvent.cpp

Issue 314373002: Revert "Push API: define push event on Service Worker." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: git cl dcommit 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/push_messaging/PushEvent.h ('k') | Source/modules/push_messaging/PushEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushEvent.cpp
diff --git a/Source/modules/push_messaging/PushEvent.cpp b/Source/modules/push_messaging/PushEvent.cpp
deleted file mode 100644
index 6e54fa6f5b8f6acd9baf2c02e76766dffb6d4559..0000000000000000000000000000000000000000
--- a/Source/modules/push_messaging/PushEvent.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-#include "modules/push_messaging/PushEvent.h"
-
-namespace WebCore {
-
-PushEventInit::PushEventInit()
-{
-}
-
-PushEvent::PushEvent()
-{
- ScriptWrappable::init(this);
-}
-
-PushEvent::PushEvent(const AtomicString& type, const String& data)
- : Event(type, /*canBubble=*/false, /*cancelable=*/false)
- , m_data(data)
-{
- ScriptWrappable::init(this);
-}
-
-PushEvent::PushEvent(const AtomicString& type, const PushEventInit& initializer)
- : Event(type, initializer)
- , m_data(initializer.data)
-{
- ScriptWrappable::init(this);
-}
-
-PushEvent::~PushEvent()
-{
-}
-
-const AtomicString& PushEvent::interfaceName() const
-{
- return EventNames::PushEvent;
-}
-
-} // namespace WebCore
« no previous file with comments | « Source/modules/push_messaging/PushEvent.h ('k') | Source/modules/push_messaging/PushEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698